Re: Searching for the '+' character

2009-09-14 Thread Matt Weber
Why don't you create a synonym for + that expands to your customers product name that includes the plus? You can even have your FE do this sort of replacement BEFORE submitting to Solr. Thanks, Matt Weber On Sep 14, 2009, at 11:42 AM, AHMET ARSLAN wrote: Thanks Ahmet, Thats excellent, t

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
> Thanks Ahmet, > > Thats excellent, thanks :) I may have to increase the > gramsize to take into account other possible uses but i can > now read around these filters to make the adjustments. > > With regard to WordDelimiterFilterFactory. Is there a way > to place a delimiter on this filter to s

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
' functionality by removing it? 'preserveOriginal' sounds promising and seems to work but is it a good idea to use this? On 14 Sep 2009, at 16:16, AHMET ARSLAN wrote: --- On Mon, 9/14/09, Paul Forsyth wrote: From: Paul Forsyth Subject: Re: Searching for the '+'

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
ace a delimiter on this filter to still get most of its functionality without it absorbing the + signs? Will i loose a lot of 'good' functionality by removing it? 'preserveOriginal' sounds promising and seems to work but is it a good idea to use this? On 14 Sep 2009, at 16:1

Re: Searching for the '+' character

2009-09-14 Thread Erick Erickson
x27; sounds promising and seems to work but is it > a good idea to use this? > > > On 14 Sep 2009, at 16:16, AHMET ARSLAN wrote: > > >> >> --- On Mon, 9/14/09, Paul Forsyth wrote: >> >> From: Paul Forsyth >>> Subject: Re: Searching for the '+'

Re: Searching for the '+' character

2009-09-14 Thread Chantal Ackermann
of 'good' functionality by removing it? 'preserveOriginal' sounds promising and seems to work but is it a good idea to use this? On 14 Sep 2009, at 16:16, AHMET ARSLAN wrote: --- On Mon, 9/14/09, Paul Forsyth wrote: From: Paul Forsyth Subject: Re: Searching for the 

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
n Mon, 9/14/09, Paul Forsyth wrote: From: Paul Forsyth Subject: Re: Searching for the '+' character To: solr-user@lucene.apache.org Date: Monday, September 14, 2009, 5:55 PM With words like 'product+' i'd expect a search for '+' to return results like any other charac

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
With words like 'product+' i'd expect a search for '+' to return results like any other character or word, so '+' would be found within 'product+' or similar text. I've tried removing the worddelimiter from the query analyzer, restarting and reindexing but i get the same result. Nothing is

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
--- On Mon, 9/14/09, Paul Forsyth wrote: > From: Paul Forsyth > Subject: Re: Searching for the '+' character > To: solr-user@lucene.apache.org > Date: Monday, September 14, 2009, 5:55 PM > With words like 'product+' i'd expect > a search for '+&

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
> Hi Ahmet, > > I believe its the WhitespaceTokenizerFactory, but i may be > wrong. > > I've pasted the schema.xml into http://pastie.org/616162 > I looked at your field type named text. WordDelimiterFilterFactory is eating up '+' You can use .../solr/admin/analysis.jsp tool to see behaviour

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Hi Ahmet, I believe its the WhitespaceTokenizerFactory, but i may be wrong. I've pasted the schema.xml into http://pastie.org/616162 On 14 Sep 2009, at 14:29, AHMET ARSLAN wrote: Hi all, I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with the

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
> Hi all, > > I need some help with a curious problem i can't find a > solution for. I am somewhat of a newbie with the various > analyzers and handlers and how they work together, so im > looking for advice on how to proceed with my issue. > > I have content with text like 'product+' which has b

Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Hi all, I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with the various analyzers and handlers and how they work together, so im looking for advice on how to proceed with my issue. I have content with text like 'product+' which has been inde