-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Using raw lucene query
PostPosted: Thu Dec 12, 2013 5:35 am 
Newbie

Joined: Tue Mar 02, 2010 4:28 pm
Posts: 8
Hi,

I have a raw Lucene query as a String. I want to execute this query using hibernate search. What is the cleanest way to do so?
I tried using boolean query, but it gives me a different result. I'm using different analyzers to create the raw query which I want to reexcute.
Sample:
Code:
+(cod:7350 cod:0537) -etat:sus* -(tl:rl tl:lr)


Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.