Thanks for your advice and for your comments.
In fact, we don't use facets to offer a facet UI to user, but to analyze
user request, then send a second request to Solr.
Lot of requests have lot of answers (often more then a thousand), so we need
to filter user request with fq parameter, if possib
: I have two fields TOWN and POSTALCODE and I want to concat those two in one
: field to do faceting
As others have pointed out, copy field doesn't do a "concat", it just
adds the field values from the source field to the desc field (so with
those two lines you will typically get two values fo
On Tue, Jul 5, 2011 at 10:21, elisabeth benoit
wrote:
> ...
>
> so do you think the dih (which I just discovered) would be appropriate to do
> the whole process (read a database, read fields from xml contained in some
> of the database columns, add informations from csv file)???
>
> from what I ju
> fields
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/faceting-on-field-with-two-values-tp3139870p3139934.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
Are you using the DIH?? You can use the transformer to concat the two fields
--
View this message in context:
http://lucene.472066.n3.nabble.com/faceting-on-field-with-two-values-tp3139870p3139934.html
Sent from the Solr - User mailing list archive at Nabble.com.
The easiest way is to concat() the fields in SQL, and pass it to indexing
as one field already merged together.
Thanks,
On 7/5/11 1:12 AM, "elisabeth benoit" wrote:
>Hello,
>
>I have two fields TOWN and POSTALCODE and I want to concat those two in
>one
>field to do faceting
>
>My two fields ar
Hello,
I have two fields TOWN and POSTALCODE and I want to concat those two in one
field to do faceting
My two fields are declared as followed:
The concat field is declared as followed:
and I do the copyfield as followed:
When I do faceting on TOWN_POSTALCODE field, I only get