I would like to execute a solr query and get only the uniquKey I've defined.
The documents are very big so defining fl='my_key' is not fast enough - all
the matching documents are still scanned and the query can take hours (even
though the search itself was fast - numFound takes few seconds to return).
I should mention that all the data is stored, and creating a new index is
not an option.

One idea I had was to get the docIds of the results and map them to my_key
in the code.
I used fl=[docid], thinking it doesn't need scanning to get this info, but
it still takes too long to return.

Is there a better way to get the docIds?
Or a way to unstore certain fields without reindexing?
Or perhapse a compeletly different way to get the results without scanning
all the fields?

Thanks,

Dafna



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-query-get-results-without-scanning-files-tp4059798.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to