Re: How to Facet external fields

2014-11-11 Thread bbarani
Thanks for your response.. It's indeed a good idea..I will try that out..



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-generate-calculate-facet-counts-for-external-fields-tp4168653p4168790.html
Sent from the Solr - User mailing list archive at Nabble.com.


How to Facet external fields

2014-11-10 Thread bbarani
I am using external field for price field since it changes every 10 minutes.
I am able to display the price / use range queries to display the documents
based on a price range.

I am trying to see if its possible to generate facets using external field.
I understand that faceting requires indexing and the facets are calculated
during indexing and since external fields fields are not actually indexed,
its not possible to get facets out of the box.

I am thinking of writing multiple range queries and get the counts and
update the facets (just for price). I want to know if there is any other
solution for this implementation.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-Facet-external-fields-tp4168653.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to Facet external fields

2014-11-10 Thread Ahmet Arslan
Hi,

Can't you use Function Range Query Parser with facet.query?

Ahmet



On Tuesday, November 11, 2014 1:03 AM, bbarani bbar...@gmail.com wrote:
I am using external field for price field since it changes every 10 minutes.
I am able to display the price / use range queries to display the documents
based on a price range.

I am trying to see if its possible to generate facets using external field.
I understand that faceting requires indexing and the facets are calculated
during indexing and since external fields fields are not actually indexed,
its not possible to get facets out of the box.

I am thinking of writing multiple range queries and get the counts and
update the facets (just for price). I want to know if there is any other
solution for this implementation.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-Facet-external-fields-tp4168653.html
Sent from the Solr - User mailing list archive at Nabble.com.