Re: fq parameter with partial value

2011-05-03 Thread elisabeth benoit
Ok, thanks a lot. After making a few tests, I finally understood what you meant. Best regards, Elisabeth 2011/5/2 Jonathan Rochkind > So if you have a field that IS tokenized, regardless of what it's called, > then when you send "My Great Restaurant" to it for _indexing_, it gets > _tokenized

Re: fq parameter with partial value

2011-05-02 Thread Jonathan Rochkind
So if you have a field that IS tokenized, regardless of what it's called, then when you send "My Great Restaurant" to it for _indexing_, it gets _tokenized upon indexing_ to seperate tokens: "My", "Great", "Restaurant". Depending on what other analysis you have, it may get further analyzed, p

Re: fq parameter with partial value

2011-05-02 Thread Erick Erickson
See more below :). On Mon, May 2, 2011 at 2:43 AM, elisabeth benoit wrote: > I'm a bit confused here. > > What is the difference between CATEGORY and CATEGORY_TOKENIZED if I just do > a copyField from what field to another? [EOE] Copyfield is done with the original data, not the processed data.

Re: fq parameter with partial value

2011-05-01 Thread elisabeth benoit
I'm a bit confused here. What is the difference between CATEGORY and CATEGORY_TOKENIZED if I just do a copyField from what field to another? And how can I search only for Restaurant (fq= CATEGORY_TOKENIZED: Restaurant). Shouldn't I have something like Hotel, if I want this to work. And from what I

Re: fq parameter with partial value

2011-04-28 Thread Erick Erickson
See below: On Thu, Apr 28, 2011 at 9:03 AM, elisabeth benoit wrote: > yes, the multivalued field is not broken up into tokens. > > so, if I understand well what you mean, I could have > > a field CATEGORY with  multiValued="true" > a field CATEGORY_TOKENIZED with  multiValued=" true" > > and the

RE: fq parameter with partial value

2011-04-28 Thread Jonathan Rochkind
e.org Subject: Re: fq parameter with partial value yes, the multivalued field is not broken up into tokens. so, if I understand well what you mean, I could have a field CATEGORY with multiValued="true" a field CATEGORY_TOKENIZED with multiValued=" true" and then some POI POI_

Re: fq parameter with partial value

2011-04-28 Thread elisabeth benoit
yes, the multivalued field is not broken up into tokens. so, if I understand well what you mean, I could have a field CATEGORY with multiValued="true" a field CATEGORY_TOKENIZED with multiValued=" true" and then some POI POI_Name ... Restaurant Hotel Restaurant Hotel do faceting on CATEGORY

Re: fq parameter with partial value

2011-04-28 Thread Erick Erickson
So, I assume your CATEGORY field is multiValued but each value is not broken up into tokens, right? If that's the case, would it work to have a second field CATEGORY_TOKENIZED and run your fq against that field instead? You could have this be a multiValued field with an increment gap if you wanted

Re: fq parameter with partial value

2011-04-28 Thread elisabeth benoit
Hi Stefan, Thanks for answering. In more details, my problem is the following. I'm working on searching points of interest (POIs), which can be hotels, restaurants, plumbers, psychologists, etc. Those POIs can be identified among other things by categories or by brand. And a single POIs might h

Re: fq parameter with partial value

2011-04-28 Thread Stefan Matheis
Hi Elisabeth, that's not what FilterQueries are made for :) What against using that Criteria in the Query? Perhaps you want to describe your UseCase and we'll see if there's another way to solve it? Regards Stefan On Thu, Apr 28, 2011 at 9:09 AM, elisabeth benoit wrote: > Hello, > > I would lik