Re: Search identifier fields containing blanks

2013-05-08 Thread Silvio Hermann
I will give it a go! thank you best Silvio On 05/08/2013 03:07 AM, Chris Hostetter wrote: : I am about to index identfier fields containing blanks (shelfmarks) eg. G : 23/60 12 : The field type is set to Solr.string. To get the exact matching hit (the doc : with shelfmark mentioned above)

Re: Search identifier fields containing blanks

2013-05-08 Thread Silvio Hermann
that worked like a charme, but what must I do if want an additional field to match e.g. {!term f=myFieldName}G 23/60 12 +location:bookshelf Best, Silvio On 05/08/2013 03:07 AM, Chris Hostetter wrote: : I am about to index identfier fields containing blanks (shelfmarks) eg. G : 23/60 12 :

Re: Search identifier fields containing blanks

2013-05-08 Thread Upayavira
If you're using the latest Solr, then you should be able to do it the other way around: q=+location:bookshelf {!term f=myFieldName}G 23/60 12 You might also find the trick I mentioned before useful: q=+location:bookshelf {!term f=myFieldName v=$productCode}productCode=G 23/60 12 Upayavira On

Re: Search identifier fields containing blanks

2013-05-08 Thread Jack Krupansky
6:30 AM To: solr-user@lucene.apache.org Subject: Re: Search identifier fields containing blanks If you're using the latest Solr, then you should be able to do it the other way around: q=+location:bookshelf {!term f=myFieldName}G 23/60 12 You might also find the trick I mentioned before useful: q

Re: Search identifier fields containing blanks

2013-05-07 Thread Chris Hostetter
: I am about to index identfier fields containing blanks (shelfmarks) eg. G : 23/60 12 : The field type is set to Solr.string. To get the exact matching hit (the doc : with shelfmark mentioned above) the user must quote the search term. Is there : a way to omit the quotes? whitespace has to be

Re: Search identifier fields containing blanks

2013-05-07 Thread Upayavira
On Wed, May 8, 2013, at 02:07 AM, Chris Hostetter wrote: : I am about to index identfier fields containing blanks (shelfmarks) eg. G : 23/60 12 : The field type is set to Solr.string. To get the exact matching hit (the doc : with shelfmark mentioned above) the user must quote the search