Aleksandr Yaroslavskiy created SOLR-15144:
---------------------------------------------

             Summary: "timeAllowed" param with "numFound" having a count value 
but doc list is empty
                 Key: SOLR-15144
                 URL: https://issues.apache.org/jira/browse/SOLR-15144
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.7, 8.4.1
            Reporter: Aleksandr Yaroslavskiy


If using timeAllowed and a collection with shards, docs list contains results 
only if QTime(query time) < timeAllowed. In other cases (partialResults=true in 
responseHeader) docs are empty.

/solr/collection_with_shards/select?timeAllowed=1000&q=some_slow_query
docs is empty

If access a specific shard and ask for data only from it:
/solr/collection_with_shards_shard1/select?shards=shard1&timeAllowed=1000&q=some_slow_query
docs list contains results! (partialResults=true)

If add debug=all to the collection query:
/solr/collection_with_shards/select?timeAllowed=1000&debug=all&q=some_slow_query
then docs list empty, but in debug info all the shards returned lists of
document id's with weights.

Tested on solr 8.4 and solr 8.7, change timeAllowed from 100 то 3000.
Always if QTime>timeAllowed docs list empty.

Discussed: 
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/202101.mbox/%3CCAHbUx5tn6wJZWKAAb8%2B5P2UKv0yXLOmET2umXi_OmSGKxHUPQQ%40mail.gmail.com%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to