hi, there,

Here's a question regarding the relationship of a customer request handler
and a customer field type.

Let's say we defined a customer filed type that when querying and indexing,
the solr.LowerCaseFilterFactory is used as the last filter to low-case all
letters.  In the Analysis UI, we found tokenization is working correctly.

We also defined  a custom request handler which always creates a boolean
query that ANDs all tokens for fielded queries (we overrided the
"getFieldQuery" method only).  Now the problem occurs that when we use the
custom request handler to handle queries. we only get results for low-case
query string,  but not for the upper-case version.   (This is true when I
turned the "debugQuery" flag on and I saw the query string hasn't been
low-cased)  If we switch to use the Standard request handler, we don't have
the problem.   It seems that when using the customer request handler, the
tokenizer/filters chain is not executed (since the low-case filter is not
applied).   I'm not sure why.

Anyone knows what I'm missing here?


many thanks,

-Hui

Reply via email to