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

incorrect doc description of fielded query syntax

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: general/website
    • Labels:
      None
    • Environment:

      lucene.apache.org docs

    • Lucene Fields:
      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

            • Assignee:
              Unassigned
              Reporter:
              solrize solrize
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: