lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Field missing when use distributed search + dismax
Date Thu, 24 Jun 2010 04:41:03 GMT
Make sure you list it in ...&fl=ID,type or set it in the defaults section of your handler.
 Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Scott Zhang <macromarship@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Tue, June 22, 2010 11:04:07 AM
> Subject: Field missing when use distributed search + dismax
> 
> Hi. All.
   I was using distributed search over 30 solr instance, the 
> previous one
was using the standard query handler. And the result was 
> returned correctly.
each result has 2 fields. "ID" and "type".
  
> Today I want to use search withk dismax, I tried search with each
instance 
> with dismax. It works correctly, return "ID" and "type" for each
result. The 
> strange thing is when I
use distributed search, the result only have "ID". 
> The field "type"
disappeared. I need that "type" to know what the "ID" refer 
> to. Why solr
"eat" my "type"?


Thanks.
Regards.
Scott

Mime
View raw message