Ok, now I have apache-solr-4.0.0 on windows. And I am able to use the plugin
ComplexPhraseQuery as mentioned above.
So I can search for: For example: "art(.*?)le" or "he sa*". Thanks for all
help.

What if I want to search a phrase like that: "he (.*?) that"
in sentences like:

he said that
he is always saying that
he mentioned before that
...etc

Also I would like the phrase to be considered as one item in the phrase
frequency, i.e. I want to tell solr not considering "he" tf alone and "that"
tf alone. But I would like to know the  "he (.*?) that" phrase frequency.
May be it is not a feature in solr.
Any way How could i execute a query like the one above??





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Use-Regex-in-the-Query-Phrase-tp4015335p4015628.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to