You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nagendra Nagarajayya (JIRA)" <ji...@apache.org> on 2013/02/18 00:53:12 UTC

[jira] [Comment Edited] (SOLR-3816) Need a more granular nrt system that is close to a realtime system.

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

Nagendra Nagarajayya edited comment on SOLR-3816 at 2/17/13 11:52 PM:
----------------------------------------------------------------------

@Yonik:

Please find a new patch. This patch removes the code that you had highlighted and introduces a request granularity based realtime-search. The mechanism guarantees that the underlying nrt reader does not change for a request. So all components of a request like search, faceting, highlight, etc. see the same view of the index. Each request though may return a new set of results. 

I have also implemented a intra-request granularity wherein each component like search, faceting, highlight, etc. may return different results.  This is not included in the patch.


                
      was (Author: nnagarajayya):
    @Yonik:

Please find a new patch. This patch removes the code that you had highlighted and introduces a request granularity based realtime-search. The mechanism guarantees that the underlying nrt reader does not change for a request. So all components of a request like search, faceting, highlight, etc. see the same view of the index. Each request though may return a different set of results. 

I have also implemented a intra-request granularity wherein each component like search, faceting, highlight, etc. may return different results.  This is not included in the patch.


                  
> Need a more granular nrt system that is close to a realtime system.
> -------------------------------------------------------------------
>
>                 Key: SOLR-3816
>                 URL: https://issues.apache.org/jira/browse/SOLR-3816
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java, replication (java), search, SearchComponents - other, SolrCloud, update
>    Affects Versions: 4.0
>            Reporter: Nagendra Nagarajayya
>              Labels: nrt, realtime, replication, search, solrcloud, update
>         Attachments: alltests_passed_with_realtime_turnedoff.log, SOLR-3816_4.0_branch.patch, SOLR-3816-4.x.trunk.patch, solr-3816-realtime_nrt.patch, SOLR-3816-trunk_request_granularity.patch
>
>
> Need a more granular NRT system that is close to a realtime system. A realtime system should be able to reflect changes to the index as and when docs are added/updated to the index. soft-commit offers NRT and is more realtime friendly than hard commit but is limited by the dependency on the SolrIndexSearcher being closed and reopened and offers a coarse granular NRT. Closing and reopening of the SolrIndexSearcher may impact performance also.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org