I read that Lucene has an internal query language that states: and you make combinations of them using logical operators. I read everything about it on my website and it works great in LUKE, I can do things like
field1:value1 AND field2:value2
and he will return, apparently, the correct results.
My problem is how to pass this Lucene request to the API? I saw QueryParser, but I have to specify the field. Does this mean that I still have to manually parse my input string, fields, values, brackets, etc., Or is there a way to feed it all and let lucene do it?
I use Lucene.NET, but since this is a method through the port of the orignal java method, any advice is appreciated.
source share