RE: keyword query tokenizer

2010-03-29 Thread Jason Chaffee
: Monday, March 29, 2010 11:16 AM To: solr-user@lucene.apache.org Subject: RE: keyword query tokenizer : Ahh, but that is exactly what I don't want the DisjunctionMaxQuery to : do. I do not max scoring field per "word". Instead, I want it per : "phrase" which may be a

RE: keyword query tokenizer

2010-03-29 Thread Chris Hostetter
: Ahh, but that is exactly what I don't want the DisjunctionMaxQuery to : do. I do not max scoring field per "word". Instead, I want it per : "phrase" which may be a single word or multiple words. then you need to quote your enitre "q" param. (or escape all the white space and meta characters)

RE: keyword query tokenizer

2010-03-29 Thread Jason Chaffee
org] Sent: Friday, March 26, 2010 10:35 PM To: solr-user@lucene.apache.org Subject: Re: keyword query tokenizer : : I am curious as to why the query parser does any tokenizing? I would think : you would want control/configure this with your analyzers? : : Does anyone know the answer to this. Is

Re: keyword query tokenizer

2010-03-26 Thread Chris Hostetter
: : I am curious as to why the query parser does any tokenizing? I would think : you would want control/configure this with your analyzers? : : Does anyone know the answer to this. Is there a performance gain or something? it's not about performance, it's about hte query parser syntax. whitesp

RE: keyword query tokenizer

2010-03-26 Thread Jason Chaffee
Got it working, there was a typo. -Original Message- From: Jason Chaffee [mailto:jchaf...@ebates.com] Sent: Friday, March 26, 2010 1:05 PM To: solr-user@lucene.apache.org Subject: RE: keyword query tokenizer I tried escaping the whitespace, but no avail. It is still be broken into two

RE: keyword query tokenizer

2010-03-26 Thread Jason Chaffee
: keyword query tokenizer > I have the following configured for a > particular field: > > > >       > >         class="solr.KeywordTokenizerFactory" /> > >         class="solr.LowerCaseFilterFactory" /> > >       > > >

RE: keyword query tokenizer

2010-03-26 Thread Jason Chaffee
; "name:bob foo bar,content:climate control" Then, I can also pass phrases to those fields and allow the analyzers to handle the tokenizing. Jason -Original Message- From: Tommy Chheng [mailto:tommy.chh...@gmail.com] Sent: Thursday, March 25, 2010 8:25 PM To: solr-user@lucene.apache.

Re: keyword query tokenizer

2010-03-25 Thread Tommy Chheng
Multi-field searches is one reason of doing the tokenizing in the parser. Imagine if your query was "name:bob content:climate" The parser can tokenize the query into "name:bob", "content:climate" and pass each into their own analyzer. Tommy Chheng Programmer and UC Irvine Graduate Student Tw

Re: keyword query tokenizer

2010-03-25 Thread Jason Chaffee
I am curious as to why the query parser does any tokenizing? I would think you would want control/configure this with your analyzers? Does anyone know the answer to this. Is there a performance gain or something? Thanks, Jason On Mar 25, 2010, at 4:04 PM, "Ahmet Arslan" wrote: > I hav

Re: keyword query tokenizer

2010-03-25 Thread Jason Chaffee
Thanks, didn't realize that. On Mar 25, 2010, at 4:04 PM, "Ahmet Arslan" wrote: > I have the following configured for a > particular field: > > > > > > class="solr.KeywordTokenizerFactory" /> > > class="solr.LowerCaseFilterFactory" /> > > > > > > > > I am using

Re: keyword query tokenizer

2010-03-25 Thread Ahmet Arslan
> I have the following configured for a > particular field: > > > >       > >         class="solr.KeywordTokenizerFactory" /> > >         class="solr.LowerCaseFilterFactory" /> > >       > > > > > > I am using dismax and querying multiple fields and I expect > the query to > be pa

keyword query tokenizer

2010-03-25 Thread Jason Chaffee
I have the following configured for a particular field: I am using dismax and querying multiple fields and I expect the query to be parsed different for each field. For some reason, it is not kept as single token for this field's query. For example, t