Hi - The WordDelimiterFilter can help you get *-BAAN-* for A100-BAAN-C20 but
only because BAAN is surrounded with characters the filter splits and combines
upon.
-----Original message-----
> From:Kissue Kissue <kissue...@gmail.com>
> Sent: Wed 10-Oct-2012 14:20
> 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.
>