You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/04/08 15:59:14 UTC

[jira] [Commented] (SOLR-1387) Add more search options for filtering field facets.

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

Michael McCandless commented on SOLR-1387:
------------------------------------------

Thank you [~romseygeek]

But the patch doesn't seem to actually remove the method from StringHelper?

Or maybe you ran "svn diff" from inside solr subdir, so the patch is missing the lucene/ changes?

> Add more search options for filtering field facets.
> ---------------------------------------------------
>
>                 Key: SOLR-1387
>                 URL: https://issues.apache.org/jira/browse/SOLR-1387
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Anil Khadka
>            Assignee: Alan Woodward
>             Fix For: Trunk, 5.1
>
>         Attachments: SOLR-1387-contains.patch, SOLR-1387.patch
>
>
> Currently for filtering the facets, we have to use prefix (which use String.startsWith() in java). 
> We can add some parameters like
> * facet.iPrefix : this would act like case-insensitive search. (or --->  facet.prefix=a&facet.caseinsense=on)
> * facet.regex : this is pure regular expression search (which obviously would be expensive if issued).
> Moreover, allowing multiple filtering for same field would be great like
> facet.prefix=a OR facet.prefix=A ... sth like this.
> All above concepts could be equally applicable to TermsComponent.



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