Bernhard Messer wrote 

> Hi,
> 
> try that query:
> 
> MyKeywordField:ABC
> 
Why should that help?
foo:(bla) and foo:bla create the same query:

java -classpath lucene-1.4.1/lucene-1.4.1.jar 
org.apache.lucene.queryParser.QueryParser 'foo:(bla)'
foo:bla
java -classpath lucene-1.4.1/lucene-1.4.1.jar 
org.apache.lucene.queryParser.QueryParser 'foo:bla'
foo:bla

As often the necessary step is to look at what query parser produced
using query.toString()

I guess SimpleAnalyzer lowercases the term and prevents entries 'ABC' from 
beeing found.
Using an apropriate PerFieldAnalyzerWrapper might help.

Morus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to