I've narrowed my problem a bit, but I'm still not sure why it's behaving
this way.

It seems that if I call QueryParser like:
Query query = QueryParser.parse(value, fieldName, fragmentAnalyzer);
where:
value=OxyMed
fieldName=text
and fragmentAnalyzer is my analyzer to be run on the value.

In this case, 'OxyMed' is changed to 'oxym', which is correct based on my
analyzer.

However, if I call with:
value=OxyM*
(other values are the same)

Then my analyzer is never used by the QueryParser on my value! In this
case, 'OxyM*' should be converted to 'oxym*'. Instead, QueryParser gives
me a PrefixQuery immediately, without ever running against my analyzer.

How can I get the QueryParser to use my analyzer when I'm including
wildcards in the search strings?

thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/




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

Reply via email to