Re: analyzer, indexAnalyzer and queryAnalyzer

2015-05-04 Thread Shawn Heisey
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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-05-04 Thread Steven White
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

RE: analyzer, indexAnalyzer and queryAnalyzer

2015-04-30 Thread Davis, Daniel (NIH/NLM) [C]
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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-30 Thread Doug Turnbull
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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-30 Thread Dan Davis
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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Kaushik
> > 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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Doug Turnbull
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

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Steven White
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:

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Chris Hostetter
: 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 -

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Doug Turnbull
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

analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Steven White
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?