Re: White space in facet values

2010-12-22 Thread Chris Hostetter
: Huh, does !term in 4.0 mean the same thing as !field in 1.4? What you : describe as !term in 4.0 dev is what I understand as !field in 1.4 doing. There is a subtle distinction between {!field}, {!raw}, and {!term} which i attempted to explain on slides 26 and 43 in this presentation... http:

Re: White space in facet values

2010-12-22 Thread Jonathan Rochkind
Huh, does !term in 4.0 mean the same thing as !field in 1.4? What you describe as !term in 4.0 dev is what I understand as !field in 1.4 doing. On 12/22/2010 10:01 AM, Yonik Seeley wrote: On Wed, Dec 22, 2010 at 9:53 AM, Dyer, James wrote: The phrase solution works as does escaping the space

Re: White space in facet values

2010-12-22 Thread Jonathan Rochkind
Another technique, which works great for facet fq's and avoids the need to worry about escaping, is using the "field" query parser instead: fq={!field f=Product}Electric Guitar Using the "field" query parser avoids the need for ANY escaping of your value at all, which is convenient in the face

Re: White space in facet values

2010-12-22 Thread Yonik Seeley
On Wed, Dec 22, 2010 at 9:53 AM, Dyer, James wrote: > The phrase solution works as does escaping the space with a backslash:   > fq=Product:Electric\ Guitar ... actually a lot of characters need to be > escaped like this (amperstands and parenthesis come to mind)... One way to avoid escaping is

RE: White space in facet values

2010-12-22 Thread Dyer, James
The phrase solution works as does escaping the space with a backslash: fq=Product:Electric\ Guitar ... actually a lot of characters need to be escaped like this (amperstands and parenthesis come to mind)... I assume you already have this indexed as "string", not "text"... James Dyer E-Commerce

Re: White space in facet values

2010-12-22 Thread Marco Martinez
try to copy the values (with copyfield) to a string field Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/12/22 Peter Karich > > > you should try fq=Product:"Electric Guitar" > > > > How do I

Re: White space in facet values

2010-12-22 Thread Peter Karich
you should try fq=Product:"Electric Guitar" > How do I handle facet values that contain whitespace? Say I have a field > "Product" that I want to facet on. A value for "Product" could be "Electric > Guitar". How should I handle the white space in "Electric Guitar" during > indexing? What abo