Skip to content

SolrFields.SOLR_COLLECTION vs SolrFields.COLLECTION, same string value #316

@vkush

Description

@vkush

Investigating issue #315 I have found, that variables "SOLR_COLLECTION" and "COLLECTION" represent the same property "collection":

public static final String SOLR_COLLECTION = "collection"; // Top-level collection

and
public static final String COLLECTION = "collection";

Is it correct so? Maybe yes, because I see, that variable SolrField.SOLR_COLLECTION is currently used only in one place in Annotator.java:
https://github.com/search?q=repo%3Aukwa%2Fwebarchive-discovery%20SOLR_COLLECTION&type=code
And SolrField.COLLECTION is used here:
https://github.com/search?q=repo%3Aukwa%2Fwebarchive-discovery+SolrFields.COLLECTION&type=code

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