Re: Search by field with the space in it

2012-09-19 Thread Jack Krupansky
Krupansky -Original Message- From: Aleksey Vorona Sent: Wednesday, September 19, 2012 5:08 PM To: solr-user@lucene.apache.org Subject: Re: Search by field with the space in it Thank you for that insight. I, myself, would've liked to remove the spaces, but it is not possible in that par

Re: Search by field with the space in it

2012-09-19 Thread Erick Erickson
well, I've certainly been wrong before, so it may not be so bad. Time will tell... Erick On Wed, Sep 19, 2012 at 5:08 PM, Aleksey Vorona wrote: > Thank you for that insight. I, myself, would've liked to remove the spaces, > but it is not possible in that particular project. > > I see that I need

Re: Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
Thank you for that insight. I, myself, would've liked to remove the spaces, but it is not possible in that particular project. I see that I need to learn more about Lucene. Hopefully that will help me avoid some of those headaches to come. -- Aleksey On 12-09-19 11:42 AM, Erick Erickson wrot

Re: Search by field with the space in it

2012-09-19 Thread Erick Erickson
I would _really_ recommend that you re-do your schema and take spaces out of your field names. That may require that you change your indexing program to not send spaces in dynamic field names This is the kind of thing that causes endless headaches as time goes forward. You don't _have_ to, bu

Re: Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
On 12-09-19 11:04 AM, Ahmet Arslan wrote: I have a field with space in its name (that is a dynamic field). How can I execute search on it? I tried "q=aattr_box%20%type_sc:super" and it did not work The field name is "aattr_box type" How about q=aattr_box\ type_sc:super That works! Thank you!

Re: Search by field with the space in it

2012-09-19 Thread Ahmet Arslan
> I have a field with space in its name (that is a dynamic > field). How can I execute search on it? > > I tried "q=aattr_box%20%type_sc:super" and it did not work > > The field name is "aattr_box type" How about q=aattr_box\ type_sc:super

Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
Hi, I have a field with space in its name (that is a dynamic field). How can I execute search on it? I tried "q=aattr_box%20%type_sc:super" and it did not work The field name is "aattr_box type" -- Aleksey