Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38E14117E4 for ; Mon, 11 Aug 2014 21:48:13 +0000 (UTC) Received: (qmail 39317 invoked by uid 500); 11 Aug 2014 21:48:12 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 39143 invoked by uid 500); 11 Aug 2014 21:48:12 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 38984 invoked by uid 99); 11 Aug 2014 21:48:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 21:48:12 +0000 Date: Mon, 11 Aug 2014 21:48:12 +0000 (UTC) From: "Andriy Redko (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5938) LuceneQueryVisitior is not reusable / not thread-safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andriy Redko created CXF-5938: --------------------------------- Summary: LuceneQueryVisitior is not reusable / not thread-safe Key: CXF-5938 URL: https://issues.apache.org/jira/browse/CXF-5938 Project: CXF Issue Type: Bug Components: Integration Affects Versions: 3.0.1 Reporter: Andriy Redko Assignee: Andriy Redko Priority: Minor Fix For: 3.0.2 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). -- This message was sent by Atlassian JIRA (v6.2#6252)