Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1765

incorrect doc description of fielded query syntax

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.4.1
    • None
    • general/website
    • None
    • lucene.apache.org docs

    • New

    Description

      http://lucene.apache.org/java/2_4_1/queryparsersyntax.html#Fields says:

      You can search any field by typing the field name followed by a colon ":" and then the term you are looking for.

      This is slightly incomplete since the stuff after the fieldname can be a more complex query, not necessarily a term. For example,

      title:(do it right)

      seems to work when I tried it. It would be good if the doc was updated to describe the syntax exactly.

      Also, "documentation" should be one of the components selectable in bug reports.

      Attachments

        Activity

          People

            Unassigned Unassigned
            solrize solrize
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: