• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.9.0
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      In indexers code we have several methods like:

      • indexContent
      • indexContents
      • _indexContent
      • doIndexContent
      • doIndexContents
      • etc.

      Some are just preparing the document to send to Solr, some other are preparing the document and sending it to Solr, and some only send the document to Solr.

      And when we want to work on several workspaces. We sometimes iterate on existing workspaces, or on existing cores (if core does not exists, it can be a problem), or with a static list. Sometimes the default is first, sometimes last.

      Also names are not logical, we have:

      • SolrPageIndexer to prepare the document and index a page
      • SolrContentIndexer to prepare the document of a content
      • SolrResourceIndexer to prepare the document of a resource
      • SolrIndexer to index the content and the resource (it calls SolrContentIndexer and SolrResourceIndexer to create the documents) - this class is in a "content" package but can be used to index resources from the explorer.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: