lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-502) Add search time out support
Date Wed, 18 Jun 2008 20:47:45 GMT

    [ https://issues.apache.org/jira/browse/SOLR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606085#action_12606085
] 

Yonik Seeley commented on SOLR-502:
-----------------------------------

I'm trying to think of Solr installations I've seen with problems, where this would be the
solution I would recommend... but I can't say I can think of any (hence my hesitation, wondering
if this is more of a solution in search of a problem).

What is the underlying problem with some queries taking longer than others?
Is it more for the server side (don't spend too much time on any 1 query), or for
the client side (control latency, even if result set is partial).

I *have* seen problems where queries started stacking up:
http://www.nabble.com/TermInfosReader-lazy-term-index-reading-to8772766.html#a8775141
But this would not have fixed the problem.

If timeouts and partial results are expected to happen regularly (a non-trivial % of queries),
then one needs to start worrying about the bias introduced (it's always low doc numbers that
will be returned, which will be older documents if one is doing incremental indexing).  It
seems like a better solution is to increase hardware dedicated to the search collection.

If timeouts and partial results are expected to be rare, then it should have little impact
on the overall server load, so why worry about them?

Thoughts?



> Add search time out support
> ---------------------------
>
>                 Key: SOLR-502
>                 URL: https://issues.apache.org/jira/browse/SOLR-502
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Sean Timm
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-502.patch, SOLR-502.patch, SOLR-502.patch, SOLR-502.patch,
solrTimeout.patch, solrTimeout.patch, solrTimeout.patch, solrTimeout.patch, solrTimeout.patch
>
>
> Uses LUCENE-997 to add time out support to Solr.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message