Not Sure though ,depends how your schema is configured. If it has WordDelimiter 
Filters at time of indexing or querying then search will not be as you desired.
Check your index creation using solr analysis for this type of string.

Thanks,
Abhinav


-----Original Message-----
From: Viresh Modi [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,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
<doc>
     <str name="id">OnlineR3_6_4_101_7</str>
     <str name="content">pookan pookan pookan</str> </doc> <doc>
    <str name="id">OnlineR3_6_4_101_20</str>
     <str name="content">pookan pookan pookan pookan pookan</str> </doc> <doc>
     <str name="id">OnlineR3_6_4_101_19</str>
     <str name="id">pookan pookan pookan pookan</str> </doc> <doc>
      <str name="id">OnlineR3_6_4_101_21</str>
     <str name="content">pookan pookan</str> </doc>


Acutually i want particular word for that match max in content tag that come 
first (relevancy based)

Reply via email to