You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2008/02/27 03:36:51 UTC

[jira] Created: (SOLR-490) dismax should autoescape + and - followed by whitespace (maybe?)

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
            Reporter: Hoss Man
             Fix For: 1.1.0, 1.2, 1.3


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-490) dismax should autoescape + and - followed by whitespace (maybe?)

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-490:
--------------------------

    Affects Version/s: 1.3
                       1.2
                       1.1.0
        Fix Version/s:     (was: 1.3)
                           (was: 1.2)
                           (was: 1.1.0)

data entry error on fix versions

> 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
>    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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.