Hello All,
               I have 2 different usecases.
I am trying to provide both boolean query and phrase search query in the application.

In every line of the document which I am indexing I have content like :

<attribute name="remedial action" value="Checking"/>\

Due to the phrase search requirement, I am indexing each line of the file as a new document.

Now when I am trying to do a phrase query (Did you Mean, Infix Analyzer etc, or phrase suggest) this seems to work fine and provide me with desired suggestions.

Problem is :

How do I invoke boolean query for this. I mean when I verified the indexes in Luke, I saw the whole line as expected is indexed.

So, if user wish to perform a boolean query say suppose containing "remedialaction" and "Checking" how do I get this document as a hit. I believe since I am indexing each line, this seems to be bit tricky.

Please guide.

--
Regards

Ankit


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to