: Hi, I can't find anywhere good documentation of what syntax is allowed 
: in Solr 4.4 regular expression searches. I can get regexes to work, but 

the docs on solr's query parser syntax should be pointing you here...

https://lucene.apache.org/core/4_0_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html

which has a section on the regex support...

https://lucene.apache.org/core/4_0_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Regexp_Searches

Which says "he current supported syntax is documented in the RegExp class" 
linking here...

https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/util/automaton/RegExp.html?is-external=true

: the same search with a predefined character class (like \s) or a word 
: boundary matcher (\b) returns nothing. I am searching an untokenized 
: field and using a plain space (' ') instead of '\s' works fine.

It's impossible for us to guess what sort of problem you might be having, 
since you haven't shown us...

 * any actual examples of requests you are trying to send
 * any logs showing how those requests are recieved by solr
 * any debugQuery=true response showing how those queries got parsed
 * any example docs in your index.

https://wiki.apache.org/solr/UsingMailingLists#Information_useful_for_searching_problems

-Hoss

Reply via email to