Solr doesn't provide any regex based searching features out of the box.  

There are some regex based query classes in lucene, if you wrote a custom 
Solr plugin to do the query parsing, you could use them.

Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue.  Perhaps the best solution doesn't involve "Y" at all?
See Also: http://www.perlmonks.org/index.pl?node_id=542341
http://people.apache.org/~hossman/#xyproblem

If you could elaborate a little more on the exact use case you are trying 
to solve, people might be able to offer you alternative solutions you've 
never thought of ... supporting regex search is a much harder problem then 
finding creative ways to support range queries on unclean data (which is 
what the root of your issue seems to be).

Tell us more about your data, and the types of queries you need to support 
(without making the assumption that regexes is the best way to 
support them)


-Hoss

Reply via email to