On Oct 16, 2006, at 2:44 AM, Antony Bowesman wrote:
Doron Cohen wrote:
Hi Antony, you cannot instruct the query parser to do that. Note
that an
Thanks, I suspected as much. I've changed it to make the field
tokenized.
field name. This is an application logic to know that a certain
qu
Doron Cohen wrote:
Hi Antony, you cannot instruct the query parser to do that. Note that an
Thanks, I suspected as much. I've changed it to make the field tokenized.
field name. This is an application logic to know that a certain query is
not to be tokenized. In this case you could create yo
Hi Antony, you cannot instruct the query parser to do that. Note that an
application can add both tokenized and un_tokenized data under the same
field name. This is an application logic to know that a certain query is
not to be tokenized. In this case you could create your query with:
query = new
Hi,
I have a field "attname" that is indexed with Field.Store.YES,
Field.Index.UN_TOKENIZED. I have a document with the attname of
"IqTstAdminGuide2.pdf".
QueryParser parser = new QueryParser("body", new StandardAnalyzer());
Query query = parser.parse("attname:IqTstAdminGuide2.pdf");
fails