1. What tokenizer are you using? 2. Do you have preserveOriginal="1" flag set in your filter? 3. Which version of solr are you using?
On Wed, Jul 26, 2017 at 10:48 AM, Webster Homer <webster.ho...@sial.com> wrote: > I have several fieldtypes that use the WordDelimiterFilterFactory > > We have a fieldtype for cas numbers. which look like 1234-12-1, numbers > separated by hyphens, users often leave out the hyphens and either use > spaces or just string the numbers together. > > The WDF seemed like a great solution especially as it gave partial matches. > However, a query like 1234-12-* fails. The analyzer tool shows the wildcard > getting stripped off. > Is there any way to preserve the wildcard in the query analyzer when using > the WordDelimiterFilterFactory? > > -- > > > This message and any attachment are confidential and may be privileged or > otherwise protected from disclosure. If you are not the intended recipient, > you must not copy this message or attachment or disclose the contents to > any other person. If you have received this transmission in error, please > notify the sender immediately and delete the message and any attachment > from your system. Merck KGaA, Darmstadt, Germany and any of its > subsidiaries do not accept liability for any omissions or errors in this > message which may arise as a result of E-Mail-transmission or for damages > resulting from any unauthorized changes of the content of this message and > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its > subsidiaries do not guarantee that this message is free of viruses and does > not accept liability for any damages caused by any virus transmitted > therewith. > > Click http://www.emdgroup.com/disclaimer to access the German, French, > Spanish and Portuguese versions of this disclaimer. > -- Saurabh Sethi Principal Engineer I | Engineering