You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2015/09/15 22:38:46 UTC

[jira] [Updated] (SOLR-8058) Collections that start with css*, js*, img*, and tpl* can't be accessed as they match the exclusion filter

     [ https://issues.apache.org/jira/browse/SOLR-8058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anshum Gupta updated SOLR-8058:
-------------------------------
    Attachment: SOLR-8058.patch

Here's the fix. Strangely, the test passes even without the patch, so I'm certainly missing something from the test framework somewhere.

The test is fairly straight, it creates a collection called "css33", adds a document to it and tries to query and assert on numFound.

> Collections that start with css*, js*, img*, and tpl* can't be accessed as they match the exclusion filter
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8058
>                 URL: https://issues.apache.org/jira/browse/SOLR-8058
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.2, 5.2.1, 5.3, 5.3.1
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>            Priority: Blocker
>         Attachments: SOLR-8058.patch
>
>
> Collections that match css*, js*, img*, and tpl* can't be reached as the SDF short circuits paths that match those regular expressions.
> It should have only short circuited exact matches for those directories i.e.
> \css/*,/js/*,/img/*,/tpl/* but that doesn't seem to be the case.
> Need to fix this regular expression so that the collection can be reached.



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