Re: boolean query for multiple values on a specific field

2016-01-27 Thread Jack Krupansky
Do you have other code you are not showing us? For example, what could are you using to get the text of the parsed query? Make sure your quotes are true ASCII quotes (double quote) and not the curly quotes that word processors like to insert. What is this Repository Manager? I mean, I see no code

boolean query for multiple values on a specific field

2016-01-27 Thread G.Long
Hi :) I would like to retrieve a document from my index which must have a field called "tag" for which the value must be "(01) value1" or "value2". I'm using the lucene java api. My code is the following: String expression = "tag:(\"(01) value1\" value2)" QueryParser parser = new QueryParser