Skip to content

Ids for indexing docs in Solr #15

@innovationchef

Description

@innovationchef

I observed that the current code creates a hash key for ID and checks the Solr core if it is already indexed or not. If it is already indexed, we skip it, else we index the new ID. Shouldn't we leave the search part? Every time we index a new document, we first search the whole database if it already exists or not and then post it. When we will have a very large DB, this may become expensive. We can rather leave the search part and index it directly. If the ID is already indexed, it will be overwritten anyway.

Any thought on adding modifiers to our json doc that is being posted to Solr? - https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-Example.1 We can use "set'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions