Solr
  1. Solr
  2. SOLR-1387

Add more search options for filtering field facets.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, Trunk
    • Component/s: search
    • Labels:
      None

      Description

      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.

      1. SOLR-1387.patch
        41 kB
        Tom Winch
      2. SOLR-1387-contains.patch
        10 kB
        Alan Woodward
      3. SOLR-1387-contains.patch
        14 kB
        Alan Woodward

        Issue Links

          Activity

            People

            • Assignee:
              Alan Woodward
              Reporter:
              Anil Khadka
            • Votes:
              13 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development