Re: AW: Facets on multiple values

2010-07-29 Thread Shawn Heisey
On 7/29/2010 1:13 PM, Chris Hostetter wrote: : My initial approach was to grab the values (which are in another table) with a : DIH subentity and store them in a multivalued field, but that reduced index : speed to a crawl. That's because instead of one query for the entire import, : it was mak

Re: AW: Facets on multiple values

2010-07-29 Thread Chris Hostetter
: My initial approach was to grab the values (which are in another table) with a : DIH subentity and store them in a multivalued field, but that reduced index : speed to a crawl. That's because instead of one query for the entire import, : it was making an individual subquery for every document r

Re: AW: Facets on multiple values

2010-07-29 Thread Shawn Heisey
On 7/29/2010 12:18 PM, Chris Hostetter wrote: it also depends on what you want to get *out* if this is a stored field ... using an analyzer like this will deal with letting you facet on the individual terms, but the stored vaue returned with each document will still be a single semi-colon sepera

Re: AW: Facets on multiple values

2010-07-29 Thread Chris Hostetter
: ... : Whether to use this idea or Bastian's depends on how the original data source : is organized. it also depends on what you want to get *out* if this is a stored field ... using an analyzer like this will deal with letting you facet on the individual terms, but the stored vaue re

Re: Facets on multiple values

2010-07-29 Thread Gora Mohanty
On Thu, 29 Jul 2010 20:39:57 +0530 Shishir Jain wrote: > Hi, > > Am using Solr facets for my data and have a field which has > multiple values in its field am using ";" to delimit those > values. So after doing a solr search it returns me a facet array > but that contains ";" in the facet value.

Re: AW: Facets on multiple values

2010-07-29 Thread Shawn Heisey
atly, not as single-valued-string. cheers. -Ursprüngliche Nachricht- Von: Shishir Jain [mailto:shishir.j...@gmail.com] Gesendet: Donnerstag, 29. Juli 2010 17:10 An: solr-user@lucene.apache.org Betreff: Facets on multiple values Hi, Am using Solr facets for my data and have a field

AW: Facets on multiple values

2010-07-29 Thread Bastian Spitzer
just define the keyword field as multivalued and add the keywords separatly, not as single-valued-string. cheers. -Ursprüngliche Nachricht- Von: Shishir Jain [mailto:shishir.j...@gmail.com] Gesendet: Donnerstag, 29. Juli 2010 17:10 An: solr-user@lucene.apache.org Betreff: Facets on

Facets on multiple values

2010-07-29 Thread Shishir Jain
Hi, Am using Solr facets for my data and have a field which has multiple values in its field am using ";" to delimit those values. So after doing a solr search it returns me a facet array but that contains ";" in the facet value. I want facet to return each as separate values. For eg. am using th