You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/05/10 07:19:15 UTC

[jira] [Created] (STANBOL-1065) SolrYard needs to quote Entity id based lookups

Rupert Westenthaler created STANBOL-1065:
--------------------------------------------

             Summary: SolrYard needs to quote Entity id based lookups
                 Key: STANBOL-1065
                 URL: https://issues.apache.org/jira/browse/STANBOL-1065
             Project: Stanbol
          Issue Type: Bug
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler


As reported by [1] the SolrYard currently has issues if users do parse Entity URIs that do contain a space, as the query gets separated in several parts

1. the uri:{uri-part-until-the-space}
2..n. full text query for each further space separated part of the URI

To avoid generated queries need to be quoted

    uri:"{uri-with-spaces}"

This affects all URI based operations that are implemented by Solr Queries

* getter for a single Entity
* getter for multiple Entities
* removal of a single Entity if MultiYardLayout is activated
* removal of multiple Entities if MultiYardLayout is activated

This Issue will also add additional UnitTests to the SolrYard


[1] http://markmail.org/message/5s3pofsc6rykqoib

--
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