Re: Solr Grouping and empty fields

2013-02-25 Thread Oussama Jilal
in our indexing pipeline we will set that field to some unique value (same as the document key if necessary) if it isn't set already to ensure that every document has that field set appropriately. -Original Message- From: Oussama Jilal Sent: Friday, February 22, 2013 5:25 PM To: sol

Re: Solr Grouping and empty fields

2013-02-24 Thread Teun Duynstee
ey if necessary) if it isn't set already to ensure that every document > > has > > > that field set appropriately. > > > > > > -Original Message- From: Oussama Jilal > > > Sent: Friday, February 22, 2013 5:25 PM > > > To: solr-user@luce

Re: Solr Grouping and empty fields

2013-02-24 Thread Jilal Oussama
and in our indexing > > pipeline we will set that field to some unique value (same as the > document > > key if necessary) if it isn't set already to ensure that every document > has > > that field set appropriately. > > > > -Original Message- From: Ous

Re: Solr Grouping and empty fields

2013-02-24 Thread Teun Duynstee
ue (same as the document > key if necessary) if it isn't set already to ensure that every document has > that field set appropriately. > > -Original Message- From: Oussama Jilal > Sent: Friday, February 22, 2013 5:25 PM > To: solr-user@lucene.apache.org > Subject: R

Re: Solr Grouping and empty fields

2013-02-23 Thread Jilal Oussama
riately. > > -Original Message- From: Oussama Jilal > Sent: Friday, February 22, 2013 5:25 PM > To: solr-user@lucene.apache.org > Subject: Re: Solr Grouping and empty fields > > OK I'm sorry if I did not explained well my need. I'll try to give a > better expl

Re: Solr Grouping and empty fields

2013-02-22 Thread Daniel Collins
t every document has that field set appropriately. -Original Message- From: Oussama Jilal Sent: Friday, February 22, 2013 5:25 PM To: solr-user@lucene.apache.org Subject: Re: Solr Grouping and empty fields OK I'm sorry if I did not explained well my need. I'll try to give a be

Re: Solr Grouping and empty fields

2013-02-22 Thread Oussama Jilal
tly do you want these "not to be grouped together" documents to be grouped? In any case, please clarify what your expectations really are. -- Jack Krupansky -Original Message- From: Oussama Jilal Sent: Friday, February 22, 2013 7:17 AM To: solr-user@lucene.apache.org Subje

Re: Solr Grouping and empty fields

2013-02-22 Thread Jack Krupansky
arify what your expectations really are. -- Jack Krupansky -Original Message- From: Oussama Jilal Sent: Friday, February 22, 2013 7:17 AM To: solr-user@lucene.apache.org Subject: Re: Solr Grouping and empty fields Thank you Johannes, but I want the documents having the field empty to b

Re: Solr Grouping and empty fields

2013-02-22 Thread Oussama Jilal
Thank you Johannes, but I want the documents having the field empty to be included in the results, just not to be grouped together, and if I understood your solution correctly, it will simply remove those documents from the results (Note : The field values are very variable and unknown to me).

Re: Solr Grouping and empty fields

2013-02-22 Thread Johannes Rodenwald
Hi Oussama, If you have only a few distinct, unchanging values in the field that you group upon, you could implement a FilterQuery (query parameter "fq") and add it to the query, allowing all valid values, but not an empty field. For example: fq=my_grouping_string_field:( value_a OR value_b OR