Actual synonym : ccc => cccc1,cccc2 ccc=>cccc3 The result when i added &dubugQuery=true is:
<?xml version="1.0" encoding="UTF-8" ?> - <response> - <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">15</int> - <lst name="params"> <str name="rows">10</str> <str name="start">0</str> <str name="indent">on</str> <str name="q">ccc</str> <str name="debugQuery">true</str> <str name="version">2.2</str> </lst> </lst> <result name="response" numFound="0" start="0" /> - <lst name="debug"> <str name="rawquerystring">ccc</str> <str name="querystring">ccc</str> <str name="parsedquery">MultiPhraseQuery(all:"cccc (1 cccc) (2 ccc cccc) 3")</str> <str name="parsedquery_toString">all:"cccc (1 cccc) (2 ccc cccc) 3"</str> <lst name="explain" /> <str name="QParser">OldLuceneQParser</str> - <lst name="timing"> <double name="time">8.0</double> - <lst name="prepare"> <double name="time">2.0</double> - <lst name="org.apache.solr.handler.component.QueryComponent"> <double name="time">1.0</double> </lst> - <lst name="org.apache.solr.handler.component.FacetComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.MoreLikeThisComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.HighlightComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.DebugComponent"> <double name="time">0.0</double> </lst> </lst> - <lst name="process"> <double name="time">4.0</double> - <lst name="org.apache.solr.handler.component.QueryComponent"> <double name="time">2.0</double> </lst> - <lst name="org.apache.solr.handler.component.FacetComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.MoreLikeThisComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.HighlightComponent"> <double name="time">0.0</double> </lst> - <lst name="org.apache.solr.handler.component.DebugComponent"> <double name="time">2.0</double> </lst> </lst> </lst> </lst> </response> Otis Gospodnetic wrote: > > I can't see the problem at the moment. What do you see when you use > &debugQuery=true in the URL? Do you see the query that includes synonyms? > Can you give us the actual query and actual synonyms? > > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > ----- Original Message ---- >> From: prerna07 <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Friday, October 17, 2008 12:36:40 AM >> Subject: Synonym format not working >> >> >> Hi, >> >> I am facing issue in synonym search of solr. The synonym.txt contain the >> format: >> >> ccc => cccc1,cccc2,ccc >> ccc => cccc3 >> >> I am not getting any search result for ccc. I have created indexes with >> string value. >> >> Do i need to change anything in schema .xml ? >> >> String tag from Schema.xml : >> >> omitNorms="true"> >> >> >> >> ignoreCase="true" expand="true"/> >> >> words="stopwords.txt"/> >> >> generateWordParts="1" generateNumberParts="1" catenateWords="0" >> catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/> >> >> >> protected="protwords.txt"/> >> >> >> >> >> Any pointers to solve the issue? >> >> Thanks, >> Prerna >> >> >> -- >> View this message in context: >> http://www.nabble.com/Synonym--format-not-working-tp20026988p20026988.html >> Sent from the Solr - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/Synonym--format-not-working-tp20026988p20027720.html Sent from the Solr - User mailing list archive at Nabble.com.