1. What is your specific motivation for wanting to do this? (Sounds like yet another "XY problem"!) 2. What specific rules are you expecting to use for synthesis of patterns from the raw data?

For the latter, do you expect to index hand-coded specific patterns to be returned or do 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 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
or ZA20-BAAN-300 and have Solr return *-BAAN-*.

Any ideas how i can accomplish something like this? I am currently using
Solr 3.5 with solrJ.

Thanks.

Reply via email to