Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4C40200B8F for ; Fri, 30 Sep 2016 22:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C3413160AD9; Fri, 30 Sep 2016 20:46:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 155F0160AB4 for ; Fri, 30 Sep 2016 22:46:21 +0200 (CEST) Received: (qmail 49014 invoked by uid 500); 30 Sep 2016 20:46:21 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 48953 invoked by uid 99); 30 Sep 2016 20:46:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2016 20:46:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B13342C2A69 for ; Fri, 30 Sep 2016 20:46:20 +0000 (UTC) Date: Fri, 30 Sep 2016 20:46:20 +0000 (UTC) From: "Dion Olsthoorn (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-2605) queryparser parses on whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 30 Sep 2016 20:46:23 -0000 [ https://issues.apache.org/jira/browse/LUCENE-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15537020#comment-15537020 ] Dion Olsthoorn commented on LUCENE-2605: ---------------------------------------- Thanks for quick response, Steve. I overlooked your last patch was for master only, not for 6.x. I'd like to try out the split-on-whitespace=false without coding, but by changing a configuration in solrconfig.xml. Is that possible? > queryparser parses on whitespace > -------------------------------- > > Key: LUCENE-2605 > URL: https://issues.apache.org/jira/browse/LUCENE-2605 > Project: Lucene - Core > Issue Type: Bug > Components: core/queryparser > Reporter: Robert Muir > Assignee: Steve Rowe > Fix For: 6.2 > > Attachments: LUCENE-2605-dont-split-by-default.patch, LUCENE-2605.patch, LUCENE-2605.patch, LUCENE-2605.patch, LUCENE-2605.patch, LUCENE-2605.patch, LUCENE-2605.patch > > > The queryparser parses input on whitespace, and sends each whitespace separated term to its own independent token stream. > This breaks the following at query-time, because they can't see across whitespace boundaries: > * n-gram analysis > * shingles > * synonyms (especially multi-word for whitespace-separated languages) > * languages where a 'word' can contain whitespace (e.g. vietnamese) > Its also rather unexpected, as users think their charfilters/tokenizers/tokenfilters will do the same thing at index and querytime, but > in many cases they can't. Instead, preferably the queryparser would parse around only real 'operators'. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org