Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3946

Support delta import in SolrEntityProcessor

    XMLWordPrintableJSON

Details

    Description

      SolrEntityProcessor is very useful to copy a part of index from central solr to another solr server based on some query.
      But its function is quite limited, doesn't support delta import, which is a quite useful feature, for example:

      One central solr server stores index of all docs, in the index we record information such as owner, last_modified and etc. Then create a local cache solr server in client side which only contains index of docs created by this user, so user can search his/her docs even when there is no internet connection. After the first full import to copy index of doc created by this user in last several weeks (or month), we want to update index in client's local solr server consistently from the central server.

      But now, we can't do this, as SolrEntityProcessor doesn't support delta-import - which already supports in SqlEntityProcessor: using deltaQuery, deltaImportQuery to do delta-import, using deletedPkQuery to remove deleted index when do delta-import.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuanyun.cn jefferyyuan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: