Re: Query multiple fields using configured analyzer stack

2009-03-16 Thread Walter Underwood
Wow, I was thinking of writing this. I made some comments on a full-text query parser last week, I think. Is there an easy way to generate the query tree then have it rewritten with the DisMax field mapping? wunder On 3/16/09 8:22 AM, "Steven A Rowe" wrote: > Another way (that I've never used)

Re: Query multiple fields using configured analyzer stack

2009-03-16 Thread Tobias Dittrich
Hi Steve, thanks for your quick response. Quoting the string really is not a good idea in this case. And it does not what I need anyway since the query is converted into a PhraseQuery and treated differently. But thanks for pointing me to the FieldQParserPlugin. Yet I seem not to get it to

RE: Query multiple fields using configured analyzer stack

2009-03-16 Thread Steven A Rowe
Hi Tobi, On 3/16/2009 at 9:14 AM, Tobias Dittrich wrote: > how can I query multiple fields in such way that for each of > the fields the configured analyzer stack with Tokenizer is > used for the whole query string? Lucene's QueryParser (and AFAIK, Solr's QPs too) first break queries on whitespa

Query multiple fields using configured analyzer stack

2009-03-16 Thread Tobias Dittrich
Hi, how can I query multiple fields in such way that for each of the fields the configured analyzer stack with Tokenizer is used for the whole query string? I have several fields in my schema that use ShingleFilter and/or WordDelimiterFilter and other stuff. But when I search for example fo