Re: Searching UN_TOKENIZED fields

2006-06-15 Thread deshmol-lists
Thanks Michael, I general my queries could be more complex than the example I outlined earlier, so I do need to use the Query Parser. Hence, PerFieldAnalyzerWrapper and KeywordAnalyzer seemed to do the trick for me. PerFieldAnalyzerWrapper analyzer = new PerFieldAnalyzerWrapper(new StandardAnalyz

Searching UN_TOKENIZED fields

2006-06-15 Thread deshmol-lists
Hi, I have a field indexed as follows: new Field(name, value, Store.YES, Index.UN_TOKENIZED) I would like to search this field for exact match of the query term. Thus if, for instance in the above code snippet: String name="PROJECT"; String value="Apache Lucene"; I would like to get a hit