On 5/4/2015 6:29 AM, Steven White wrote:
> Thanks Doug. This is extremely helpful. It is much appreciated that you
> took the time to write it all.
>
> Do we have a Solr / Lucene wiki with such "did you know?" write ups? If
> not, just having this kind of knowledge in an email isn't good enough
ach word which *then *gets analyzed. This is because the query parser
> > > tries to be smart and turn "hot dog" into hot OR dog, or more
> > specifically
> > > making them two must clauses.
> > >
> > > This trips quite a few folks up, you can use t
Thank you.
-Original Message-
From: Doug Turnbull [mailto:dturnb...@opensourceconnections.com]
Sent: Thursday, April 30, 2015 11:33 AM
To: solr-user@lucene.apache.org; Dan Davis
Subject: Re: analyzer, indexAnalyzer and queryAnalyzer
- You write your own QParser plugins - can one keep
gt; dogs&defType=edismax&qf=title
> > > > body the *query parser* *not* the *analyzer* first turns the query
> > into:
> > > >
> > > > (title:hot title:dog) | (body:hot body:dog)
> > > >
> > > > each word which *then *gets analy
t; making them two must clauses.
> > >
> > > This trips quite a few folks up, you can use the field query parser
> which
> > > uses the field as a phrase query. Hope that helps
> > >
> > >
> > > --
> > > *Doug Turnbull **| *Search Releva
> > specifically
> > > making them two must clauses.
> > >
> > > This trips quite a few folks up, you can use the field query parser
> which
> > > uses the field as a phrase query. Hope that helps
> > >
> > >
> > > --
> &g
which
> > uses the field as a phrase query. Hope that helps
> >
> >
> > --
> > *Doug Turnbull **| *Search Relevance Consultant | OpenSource Connections,
> > LLC | 240.476.9983 | http://www.opensourceconnections.com
> > Author: Taming Search <http://manning.c
from Manning
> Publications
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless
> of whether attachments are marked as such.
> On Wed, Apr 29, 2015 at 3:41 PM, Steven White
> wrote:
: 1) If the content of indexAnalyzer and queryAnalyzer are exactly the same,
: that's the same as if I have an analyzer only, right?
Effectively yes.
Subtle nuance: if you declare 1 analyzer, there is one Analyzer object in
ram. If you declare both, then there are 2 Analyzer objects in RAM -
l unless explicitly stated otherwise, regardless
of whether attachments are marked as such.
On Wed, Apr 29, 2015 at 3:41 PM, Steven White wrote:
> Hi Everyone,
>
> Looking at Solr's schema.xml, there are three kind of analyzers: analyzer,
> indexAnalyzer and queryAnalyzer. I have
Hi Everyone,
Looking at Solr's schema.xml, there are three kind of analyzers: analyzer,
indexAnalyzer and queryAnalyzer. I have two questions about them:
1) If the content of indexAnalyzer and queryAnalyzer are exactly the same,
that's the same as if I have an analyzer only, right?
11 matches
Mail list logo