You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2013/11/11 15:48:18 UTC

[jira] [Commented] (SOLR-5205) MoreLikeThis doesn't escape shard queries

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

Markus Jelsma commented on SOLR-5205:
-------------------------------------

Shawn, i hadn't noticed bad performance for distributed MLT before until just now. It looks like that in a 5 shard cluster it fires about 12 queries of which most are really slow. Doing MLT on a not distributed node with a large amount of documents is lightning fast! Many of the queries fired are distrib=true.

> 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.6
>
>         Attachments: SOLR-5205-trunk.patch, SOLR-5205.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 was sent by Atlassian JIRA
(v6.1#6144)

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