Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8971

Implement a Solr indexing service + post commit core listener

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core, Elasticsearch

      Description

      • Write a new Nuxeo Solr connector service with extension point that list document types and properties that should be indexing in a remote solr server.
      • Provide a method on this service to perform a indexing of a full nuxeo repository by using a paged NXQL configured as a contribution to PageProviderService. The query should be sorted by dc:modified and use a dc:modified > [previous page indexing time] clause with offset = 0 and limit = 10000 as batching mechanism. Use large pages 10000 documents for instance per Solr UpdateRequest to optimize the throughput.
      • A synchronous post-commit listeners that trigger the indexing, updating + deletion of nuxeo documents by delegating to the service.
      • Make it possible for Seam components, WebEngine JAXRS modules, other nuxeo services or content automation operation to perform Solr queries on the index by asking the Nuxeo Solr connector service to give them a SolrServer API to directly use the SolrJ API is search mode to be able to perform faceted queries and other advanced Solr specific queries.

      https://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrServer.html

      • Ignore ACL indexing for now, this can be done in another task based on the outcome of: NXP-8969

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: