You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Avlesh Singh (JIRA)" <ji...@apache.org> on 2009/08/26 20:15:59 UTC

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

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

Avlesh Singh commented on SOLR-1387:
------------------------------------

{quote}
facet.iPrefix : this would act like case-insensitive search. (or ---> facet.prefix=a&facet.caseinsense=on)
{quote}
I don't see a reason as to why the case filter be there. you can always apply a lower case filter to you field while indexing and searching. 

{quote}
facet.regex : this is pure regular expression search (which obviously would be expensive if issued).
{quote}
You mean wildcards. Right?

{quote}
Moreover, allowing multiple filtering for same field would be great like facet.prefix=a OR facet.prefix=A ... sth like this.
{quote}
This has been recently discussed on the dev mailing list here - http://www.lucidimagination.com/search/document/f954dbb323746ed1/multiple_facet_prefix 
The syntax that was agreed upon was local params in this manner - facet.field={!prefix=foo prefix=bar}myfield

> Add more search options for filtering facets.
> ---------------------------------------------
>
>                 Key: SOLR-1387
>                 URL: https://issues.apache.org/jira/browse/SOLR-1387
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Anil Khadka
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.