[
https://issues.apache.org/jira/browse/SOLR-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383209#comment-14383209
]
Anil Khadka commented on SOLR-1387:
-----------------------------------
Thanks for finally pushing it into the code.
The 'contain' and 'contains.IgnoreCase' will cover most of the use-cases.
I remember during that time, the code I wrote performed just fine (not
terrible) for regular expression case. But mostly it was used for
auto-completion that didn't use regex and worked pretty good.
Directly using FSA (or FST), like in Lucene would be great for regex (and
interesting project!)
Thanks again guys.
> 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.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: [email protected]
For additional commands, e-mail: [email protected]