Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5938

LuceneQueryVisitor is not reusable / not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • Integration
    • None
    • Unknown

    Description

      LuceneQueryVisitor class is not really reusable in current implementation: it keeps the state of all parsed queries (which is generally fine) but it groups them by property name, returning the first query from the list all the time. That means running two search criteria like 'ct=java' and 'ct=websockets' causes the result of 'ct=java' to be returned in both cases (very easy reproducible).

      Attachments

        Activity

          People

            reta Andriy Redko
            reta Andriy Redko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: