Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-642

Support for only manual indexing of particular entity types

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 5.0.0.CR2
    • Component/s: engine
    • Labels:
      None

      Description

      I have an interesting use case. Basically I have to find internal duplicates (in full text search terms) among a bunch of entities of a particular type. The most elegant way to do it, would be:

      1. Not to index those entities when they are saved (the problem is that only a minority of entities need to be de-duped).
      2. Before de-duping process starts, manually index those particular entities.
      3. De-dupe them using Lucene's capabilities.
      4. Purge those entities from the index.

      Is it possible to mark a particular entity to be indexed only manually?

      hibernate.search.indexing_strategy = manual 
      

      seems to be a global configuration. Can it be applied somehow on a per entity basis? If not, I think this is a valuable RFE.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                hardy.ferentschik Hardy Ferentschik
                Reporter:
                kyrill007@gmail.com KyrillK
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: