Re: Wild card searching - well sort of

2012-10-10 Thread Erick Erickson
Have you looked at WordDelimiterFilterFactory that was mentioned earlier? Try a fieldType in the admin/analysis page that has WDFF as part of the analysis chain. It would do exactly what you've described so far. WDFF splits the input up as tokens on non-alphanum characters, alpha/num transitions a

Re: Wild card searching - well sort of

2012-10-10 Thread Kissue Kissue
It is really not fixed. It could also be *-*-BAAN or BAAN-CAN20-*. In each i just want only the fixed character(s) to match then the * can match any character. On Wed, Oct 10, 2012 at 2:05 PM, Toke Eskildsen wrote: > On Wed, 2012-10-10 at 14:15 +0200, Kissue Kissue wrote: > > I have added the st

Re: Wild card searching - well sort of

2012-10-10 Thread Toke Eskildsen
On Wed, 2012-10-10 at 14:15 +0200, Kissue Kissue wrote: > I have added the string: *-BAAN-* to the index to a field called pattern > which is a string type. Now i want to be able to search for A100-BAAN-C20 > or ZA20-BAAN-300 and have Solr return *-BAAN-*. That sounds a lot like the problem presen

Re: Wild card searching - well sort of

2012-10-10 Thread Jack Krupansky
o you have some sort of "machine learning" method in mind that will generate the patterns by examining all of the values? -- Jack Krupansky -Original Message- From: Kissue Kissue Sent: Wednesday, October 10, 2012 8:15 AM To: solr-user@lucene.apache.org Subject: Wild card sear

RE: Wild card searching - well sort of

2012-10-10 Thread Markus Jelsma
ubject: Wild card searching - well sort of > > Hi, > > I am wondering if there is a way i can get Solr to do this: > > I have added the string: *-BAAN-* to the index to a field called pattern > which is a string type. Now i want to be able to search for A100-BAAN-C20 > o