Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Conversation

juhrlass
Copy link
Contributor

Added FacetRangeOptions similar to FacetOptions that allows the creation of range facets.
Extended DefaultQueryParser and ResultHelper to support range facets in queries and results.

See: https://jira.springsource.org/browse/DATASOLR-86

@christophstrobl
Copy link
Contributor

thank you @juhrlass for opening the pull request.
As I'm currently working on support for solr functions I'll try to have a closer look once I'm done with that.

One thing I'm actually not quite clear about is if there's the possibility to add ranges to the existing options...?
Cheers, Christoph.

@juhrlass
Copy link
Contributor Author

Hi Christoph,

FacetOptions and FacetRangeOptions are two separate things in this code. One can add additional FacetRangeOptions to a FacetQuery the result.
I get your point in having range options integrated in the FacetOptions similar to pivot facets.
Actually the code is something I used as a quick fix for date facetting in a productive environment.

Please tell me your opinion about this. Maybe I can help refactoring the code so that it fits better?

@ptahchiev
Copy link
Contributor

+1 on this :)

@michaelgriffithus
Copy link

When is this RangeFacet feature going to make it into the spring data solr code base?

@apoorvmittal10
Copy link

Any plans to merge it? Is there any other option to get facet range data using spring-data for the time the request not gets merged?

@Rene-Dieckmann
Copy link

+1 for merge

1 similar comment
@apoorvmittal10
Copy link

+1 for merge

franciscospaeth pushed a commit that referenced this pull request Aug 2, 2015
Intial implementation for range facets for NUMERIC and DATE.

Original Pull Request: #29 | #53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants