Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13426

Solr graph queries - should error when run in multiple shard collections?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.7.1
    • Fix Version/s: None
    • Component/s: query parsers
    • Labels:
      None

      Description

      I noticed that Solr will allow you to run a graph query when the limitation on nodes/shards is not agreed to.

      see: https://lucene.apache.org/solr/guide/6_6/other-parsers.html#OtherParsers-Limitations.1

      Limitations - The graph parser only works in single node Solr installations, or with SolrCloud collections that use exactly 1 shard.

      This will result in no error, and the query results will be incorrect. This leads you to thinking everything is fine until you realize the issue later on.

      Is it possible to throw an error to force people to meet these limitations?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ndipiazza_gmail Nicholas DiPiazza
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: