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 ACC51200BA1 for ; Mon, 17 Oct 2016 14:55:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB5F4160AF2; Mon, 17 Oct 2016 12:55:00 +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 EFC96160AE5 for ; Mon, 17 Oct 2016 14:54:59 +0200 (CEST) Received: (qmail 29669 invoked by uid 500); 17 Oct 2016 12:54:58 -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 29645 invoked by uid 99); 17 Oct 2016 12:54:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 12:54:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A65152C4C73 for ; Mon, 17 Oct 2016 12:54:58 +0000 (UTC) Date: Mon, 17 Oct 2016 12:54:58 +0000 (UTC) From: "Alexandre Rafalovitch (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-490) dismax should autoescape + and - followed by whitespace (maybe?) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Oct 2016 12:55:00 -0000 [ https://issues.apache.org/jira/browse/SOLR-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582163#comment-15582163 ] Alexandre Rafalovitch commented on SOLR-490: -------------------------------------------- The Solr 1.1 "improvement" against dismax. We now have edismax and 20+ other Query Parsers. Safe to close? > dismax should autoescape + and - followed by whitespace (maybe?) > ---------------------------------------------------------------- > > Key: SOLR-490 > URL: https://issues.apache.org/jira/browse/SOLR-490 > Project: Solr > Issue Type: Improvement > Components: query parsers > Affects Versions: 1.1.0, 1.2, 1.3 > Reporter: Hoss Man > > As discussed in this thread... > Date: Tue, 26 Feb 2008 04:13:54 -0500 > From: Kevin Xiao > To: solr-user > Subject: solr to handle special charater > ...the docs for dismax said that + or - followed by *nonwhitespace* characters had special meaning ... for some reason i thought the dismaxhandler had code that would look for things like "xyz - abc" and autoescape it to "xyz \- abc" (after calling partialEscape) so that the +/- would only be special if the were treu prefix operators. > apparently this never actually existed. > we should figure out if that's how it *should* work, and if so implement it. > this would also be a good time to make the autoescaping behavior of dismax more configurable, or at least more overridable by subclasses (it's currently handled by a static method call) -- 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