Re: Load a list of values in a solr field and query over its items

2013-08-14 Thread Utkarsh Sengar
Never mind,got my answer here: http://stackoverflow.com/a/5800830/231917 tag1 tag2 ... tagn once you have all the values index you can search or filter results by any value, e,g. you can find all documents with tag1 using query like q=tags:tag1 or use the tags to filter out results like q=quer

Re: Load a list of values in a solr field and query over its items

2013-08-14 Thread Utkarsh Sengar
Thanks Aloke! So a multivalued field assumes: 1. if data is inserted in this form: "8738,624623,7272,82272,733", there are 5 unique values separated by a comma (or any other separator)? 2. And a filter query can be applied over it? Thanks, -Utkarsh On Wed, Aug 14, 2013 at 11:45 AM, Aloke Ghos

Re: Load a list of values in a solr field and query over its items

2013-08-14 Thread Aloke Ghoshal
Should work once you set up both fields as multiValued ( http://wiki.apache.org/solr/SchemaXml#Common_field_options). On Thu, Aug 15, 2013 at 12:07 AM, Utkarsh Sengar wrote: > Hello, > > Is it possible to load a list in a solr filed and query for items in that > list? > > example_core1: > > docu

Load a list of values in a solr field and query over its items

2013-08-14 Thread Utkarsh Sengar
Hello, Is it possible to load a list in a solr filed and query for items in that list? example_core1: document1: FieldName=user_ids Value=8,6,1,9,3,5,7 FieldName=allText Value=text to be searched over with title and description document2: FieldName=user_ids Value=8738,624623,7272.82272,733 Fiel