: this is my first day with Solr and now I'm looking if there is a way to make
: a middleword search like:
: *searchword*

FYI: i've never seen the term "middleword" used before, this is usually 
refered to as "wildcard query" that has the unique property of including a 
"leading wildcard" character ... searching lucene mailing lists and 
documentation should help you find some techniques and tradeoff 
descriptions for accomplishing this -- including using "n-grams" based 
approaches which can be faster then the more conventional WildCardQuery at 
the expense of a much bigger index.

: "the dog is brown"

: The day is green and the dog is brown, but you'r nice. :-) --> This should
: be found ( No, I'm not drunken )
: The day is green and the dogs are brown, but you'r nice. --> Should not be
: found, because there are not the exact words.

a normal phrase search will do this for you as long as you do not use 
stemming. (or stop words)




-Hoss

Reply via email to