lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giovanni Fernandez-Kincade <gfernandez-kinc...@capitaliq.com>
Subject RE: *:* Returning no results
Date Mon, 30 Nov 2009 21:09:34 GMT
Hmm. When I include debugQuery=on I get two results (which is accurate):
<result name="response" numFound="2" start="0">

Otherwise I get 
<result name="response" numFound="0" start="0"/>


Why would you get different results with debugging on? Does anything look peculiar here?


<lst name="debug">
 <str name="rawquerystring">*:*</str>
 <str name="querystring">*:*</str>

 <str name="parsedquery">MatchAllDocsQuery(*:*)</str>
 <str name="parsedquery_toString">*:*</str>
 <lst name="explain">
  <str name="255">
1.0 = (MATCH) MatchAllDocsQuery, product of:
  1.0 = queryNorm
</str>
  <str name="3">
1.0 = (MATCH) MatchAllDocsQuery, product of:
  1.0 = queryNorm
</str>
 </lst>

 <str name="QParser">LuceneQParser</str>
 <lst name="timing">
  <double name="time">93.0</double>
  <lst name="prepare">
	<double name="time">0.0</double>
	<lst name="org.apache.solr.handler.component.QueryComponent">
	 <double name="time">0.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.StatsComponent">
	 <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">93.0</double>
	<lst name="org.apache.solr.handler.component.QueryComponent">
	 <double name="time">78.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.StatsComponent">
	 <double name="time">0.0</double>
	</lst>
	<lst name="org.apache.solr.handler.component.DebugComponent">
	 <double name="time">15.0</double>
	</lst>
  </lst>

 </lst>
</lst>

-----Original Message-----
From: Smiley, David W. [mailto:dsmiley@mitre.org] 
Sent: Monday, November 30, 2009 4:02 PM
To: solr-user@lucene.apache.org
Cc: Giovanni Fernandez-Kincade
Subject: Re: *:* Returning no results

Add debugQuery=on to give you clues.

~ David Smiley
Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/


On Nov 30, 2009, at 3:54 PM, Giovanni Fernandez-Kincade wrote:

> Hi,
> I created a brand new core (on Solr 1.4), added a few documents and then searched for
*:*, but got no results. Strangely enough, if I search for a specific document I know is in
the index, like say "versionId:3", I get the expected result.
> 
> Any ideas on why that might be?
> 
> Thank,
> Gio.






Mime
View raw message