I really have in mind an index-time filter, not necessarily a query-time Filter. So at index time you have something like 123.4000. You index synonyms 123.4 and 123 (or whatever) and now your _queries_ should "just work" since the forms you need are in the index already and whether it's a regex or not is handled for you by the query parsing process without any additional work on your part.
Of course I may be misunderstanding the problem.... Best, Erick On Mon, May 18, 2015 at 5:19 PM, Todd Long <lon...@gmail.com> wrote: > Erick Erickson wrote >> No, not using SynonymFilterFactory. Rather take that as a base for a >> custom Filter that >> doesn't use any input file. > > OK, I just wanted to make sure I wasn't missing something that could be done > with the SynonymFilterFactory itself. At one time, I started going down this > path but I wasn't sure if I could access the indexed values using a "query" > filter though I assume that is part of what SynonymFilterFactory is doing... > I was able to create a custom filter but I was only able to access the query > input of which I still couldn't distinguish what type of search was being > done (i.e. regex or not). The regex query input did not include the > surrounding forward slashes. > > - Todd > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Wildcard-Regex-Searching-with-Decimal-Fields-tp4206015p4206155.html > Sent from the Solr - User mailing list archive at Nabble.com.