lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Wildcard/Regex Searching with Decimal Fields
Date Tue, 19 May 2015 04:23:47 GMT
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....


On Mon, May 18, 2015 at 5:19 PM, Todd Long <> 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:
> Sent from the Solr - User mailing list archive at

View raw message