lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5205) MoreLikeThis doesn't escape shard queries
Date Fri, 30 Aug 2013 17:25:53 GMT

    [ https://issues.apache.org/jira/browse/SOLR-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754927#comment-13754927
] 

Shawn Heisey commented on SOLR-5205:
------------------------------------

Now that I take a good look at the patch, it seems to only affect the last part of the query,
where it adds the clause that excludes the original document ID value.  We need a patch that
affects the individual termvector values.

Additionally, the patch is against MoreLikeThisHandler, for what I am doing, I use MoreLikeThisComponent.
 I have (so far) been unable to make the Handler work.

                
> MoreLikeThis doesn't escape shard queries
> -----------------------------------------
>
>                 Key: SOLR-5205
>                 URL: https://issues.apache.org/jira/browse/SOLR-5205
>             Project: Solr
>          Issue Type: Bug
>          Components: MoreLikeThis
>    Affects Versions: 4.4
>            Reporter: Markus Jelsma
>             Fix For: 4.5, 5.0
>
>         Attachments: SOLR-5205-trunk.patch
>
>
> MoreLikeThis does not support Lucene special characters as ID in distributed search.
ID's containing special characters such as URL's need to be escaped in the first place. They
are then unescaped and get sent to shards in an unescaped form, causing the org.apache.solr.search.SyntaxError
exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message