Solr
  1. Solr
  2. SOLR-223

SolrQueryParser should do more error checking

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: search
    • Labels:
      None

      Description

      as recently mentioned on the mailing list, when using SolrQueryParser a simple term query will fail if the field name used is not a valid field according to the schema (because it consults the IndexSchema to get the Analyzer) – but a wildcard, fuzzy, or prefix query will not trigger such an error (because no analysis is done)

      we should make SolrQueryParser more aware of these types of errors.

      we should probably also make it more aware of when fields aren't indexed, attempting to query on them should be an error as well.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Hoss Man
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development