Re: Picking Facet Fields by Frequency-in-Results

2009-08-12 Thread Chris Hostetter
: the search results. In particular, I hypothesize that, for a somewhat : heterogeneous index (heterogeneous in terms of which fields a given : record might contain), that the following rule might be helpful: Facet : on a given field to the extent that it is frequently set in the : documents match

Re: Picking Facet Fields by Frequency-in-Results

2009-08-04 Thread Erik Hatcher
And further on this, if you want a field automatically added to each document with the list of its field names, check out http://issues.apache.org/jira/browse/SOLR-1280 Erik On Aug 4, 2009, at 1:01 AM, Avlesh Singh wrote: I understand the general need here. And just extending what y

Re: Picking Facet Fields by Frequency-in-Results

2009-08-03 Thread Avlesh Singh
I understand the general need here. And just extending what you suggested (indexing the fields themselves inside a multiValued field), you can perform a query like this - /search?q=myquery&facet=true&facet.field=indexedfields&facet.field=field1&facet.field=field2...&facet.sort=true You'll get face

Picking Facet Fields by Frequency-in-Results

2009-08-03 Thread Chris Harris
One task when designing a facet-based UI is deciding which fields to facet on and display facets for. One possibility that I hope to explore is to determine which fields to facet on dynamically, based on the search results. In particular, I hypothesize that, for a somewhat heterogeneous index (hete