So I have a few titles like so:

1. When a dog bites fight back : what you need to know, what to do, what not
to do / [prepared by the law firm] Slater & Zurz LLP.
2. First things first [book on cd] : [the rules of being a Warner-- what
works, what doesn't and what really matters most] / Kurt & Brenda Warner,
with Jennifer Schuchmann.
3. What if? : serious scientific answers to absurd hypothetical questions /
Randall Munroe.

Now when I put this in my query field:
title:what if

It returns the first two BEFORE it returns the book that has the actual
"what if" phrase.. when that one should be listed first..
If I do title:"what if", none of them get returned.

Here is my schema.xml file:
http://apaste.info/7r5 <http://apaste.info/7r5>  

I want the titles that contain the phrase "what if" to be returned first.
And then index by "what", "if".. The double quotes doesn't seem to contain
the phrase. I removed the stop words because "if" was in the list and I
didn't want the indexing to ignore that.

Thank you for any help!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Score-phrases-higher-than-the-records-containing-the-words-tp4166488.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to