Hi, Same as index time. You can define query time analyzer in schema.xml. Here is an example taken from default schema.xml
<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> .... </analyzer> <analyzer type="query"> ..... </analyzer> </fieldType> On Monday, November 24, 2014 12:05 AM, David Lee <seek...@gmail.com> wrote: Yes, my edismax parser is configured to query multiple fields, including qf, pf, pf2 and pf3. Is there any online documentation on "multiple analysis chains might get used -- each field uses its own analysis chain" ? Thanks, DL On Sun, Nov 23, 2014 at 1:34 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 11/23/2014 2:13 PM, David Lee wrote: > > Thanks Erik. I am actually using edismax query parser in SOLR. I can > > explicitly specify the fieldType (e.g., text_general or text_en) for > > different fields (e.g., title or description) . But I do not see how to > > specify the fieldType (thus analyzer) for runtime queries. > > The query analysis is chosen by the field that you are querying. If the > request sent to your edismax parser is configured to query multiple > fields (qf, pf, etc), then multiple analysis chains might get used -- > each field uses its own analysis chain. Setting the "debugQuery" > parameter to true will show you exactly how a query was analyzed. > > The same thing can happen when you use multiple field:value clauses in > your query. > > Thanks, > Shawn > > -- SeekWWW: the Search Engine of Choice www.seekwww.com