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
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
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
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
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
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
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
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
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).
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
10 matches
Mail list logo