[mailto:viresh.m...@highq.com]
Sent: 24 September 2013 18:09
To: solr-user@lucene.apache.org
Subject: How can i search maximum number of word in particular docs
Mu Query Looks Like:
start=0&rows=10&hl=true&hl.fl=content&qt=dismax
&q=pookan
&fl=id,application,times
: &q=pookan
...
: Acutually i want particular word for that match max in content tag that
: come first (relevancy based)
the default TF-IDF scoring mechanism rewards documents for matching a term
multiple times (thats the the "TF" part) but there is also a length
normalization factor tha
Are you saying that the more times the word appears, the more you want
it to score?
Note, add debugQuery=true to your query, and look near the end of the
output, you will be able to see exactly how the score was calculated and
thus which component wasn't behaving as you expected (you might want to
Mu Query Looks Like:
start=0&rows=10&hl=true&hl.fl=content&qt=dismax
&q=pookan
&fl=id,application,timestamp,name,score,metaData,metaDataDate
&fq=application:OnlineR3_6_4
&fq=(metaData:channelId/101 OR metaData:channelId/104)
&sort=score desc
but not getting result as per desired
OnlineR3_6