FAQ
I'm using Solr5.4.1 and I want to use *timeAllowed* parameter in request
handler, but I don't want to get partial results if allowed time elapsed.
How can I do it?



--
View this message in context: http://lucene.472066.n3.nabble.com/Timing-out-a-query-in-Solr-without-partial-results-tp4276762.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Search Discussions

  • Chris Hostetter at May 16, 2016 at 4:51 pm
    : I'm using Solr5.4.1 and I want to use *timeAllowed* parameter in request
    : handler, but I don't want to get partial results if allowed time elapsed.
    : How can I do it?

    i don't really understand your question ... if you want to use
    timeAllowed, that suggests/implies that you want solr to abort the reuqest
    early if the timeAllowed limit is exceeded -- but if the request is
    aborted earlier then you will only have partial Results -- there's no way
    ot magiclaly get all the results if you abort early.

    So what is it that you would like to see happen instead?

    My best guess is that you mean you want Solr to just abort completley w/o
    *returning* the partial results ... i don't believe that's possible, but
    the response header will indicate that the results are "partialResults"
    and you can just ignore the response in that situation.


    -Hoss
    http://www.lucidworks.com/
  • Brian Schmidt at May 16, 2016 at 6:18 pm
    The below was not meant for me, I did not send over this questions.

    Although I do have interest in learning more about Solr, we currently sue SLI for Search and we're currently looking at options.
    Please have someone in Solr Sales contact me.


    Thank you,

    Brian D. Schmidt
    Director of Marketing
    Office 954 334 0468
    Cell 816 518 7630
    bschmidt@morris4x4center.com




    -----Original Message-----
    From: Chris Hostetter
    Sent: Monday, May 16, 2016 12:51 PM
    To: general@lucene.apache.org
    Subject: Re: Timing out a query in Solr without partial results


    : I'm using Solr5.4.1 and I want to use *timeAllowed* parameter in request
    : handler, but I don't want to get partial results if allowed time elapsed.
    : How can I do it?

    i don't really understand your question ... if you want to use timeAllowed, that suggests/implies that you want solr to abort the reuqest early if the timeAllowed limit is exceeded -- but if the request is aborted earlier then you will only have partial Results -- there's no way ot magiclaly get all the results if you abort early.

    So what is it that you would like to see happen instead?

    My best guess is that you mean you want Solr to just abort completley w/o
    *returning* the partial results ... i don't believe that's possible, but the response header will indicate that the results are "partialResults"
    and you can just ignore the response in that situation.


    -Hoss
    http://www.lucidworks.com/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgeneral @
categorieslucene
postedMay 16, '16 at 4:44p
activeMay 16, '16 at 6:18p
posts3
users3
websitelucene.apache.org

People

Translate

site design / logo © 2018 Grokbase