Hi All,

   I am sorry If I have sent this email at wrong list. If it is then
kindly let me know! 

   I am using Alfresco 4.0 which is having SOLR for Lucene. I am able to
see the SOLR page and also able to fire queris But they do not return
any results and sometimes giving errors. I am using SOLR UI
(https://localhost:8443/solr/alfresco/admin/ ).

 

 For example: 

    When I search for @cm\:name:"sanket" It shows me some xml result
which is as under.

<response>

 

<lst name="responseHeader">

 <int name="status">0</int>

 <int name="QTime">0</int>

 <lst name="params">

  <str name="explainOther"/>

  <str name="indent">on</str>

  <str name="hl.fl"/>

  <str name="wt">standard</str>

  <str name="hl">on</str>

  <str name="rows">10</str>

  <str name="version">2.2</str>

  <str name="fl">*,score</str>

  <str name="debugQuery">on</str>

  <str name="start">0</str>

  <str name="q">@cm\:cm:"sanket"</str>

  <str name="qt">standard</str>

  <str name="fq"/>

 </lst>

</lst>

<result name="response" numFound="0" start="0" maxScore="0.0"/>

<lst name="highlighting"/>

<lst name="debug">

 <str name="rawquerystring">@cm\:cm:"sanket"</str>

 <str name="querystring">@cm\:cm:"sanket"</str>

 <str name="parsedquery">@cm:cm:sanket</str>

 <str name="parsedquery_toString">@cm:cm:sanket</str>

 <lst name="explain"/>

 <str name="QParser">LuceneQParser</str>

 <arr name="filter_queries">

 

Also sometime I get exception like 

HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot
parse '@cm:name:sanket': Encountered " ":" ": "" at line 1, column 8.
Was expecting one of: <EOF> <AND> ... <OR> ... <NOT> bla..bla ..bla..

 

Please help me out.

 

Thanking You!

Sanket Shah

 

Reply via email to