Toke,
You are absolutely right, concatenating term is a possible solution. I
found faceting is quite complicated in this case, but it was a hot fix
which we delivered to production.
Torben,
This problem arise quite often, beside of these two approaches discussed
there, also possible to approach Sp
On Mon, 2012-10-08 at 08:42 +0200, Torben Honigbaum wrote:
> sorry, my fault. This was one of my first ideas. My problem is, that
> I've 1.000.000 documents, each with about 20 attributes. Additionally
> each document has between 200 and 500 option-value pairs. So if I
> denormalize the data, it me
>>>>>> Docs:
>>>>>>
>>>>>>
>>>>>> 3
>>>>>>
>>>>>> A
>>>>>> B
>>>>>> ...
>>>>>>
>>>>>>
>>>>>>
gt;> 400
> >>>> ...
> >>>>
> >>>>
> >>>>
> >>>> 4
> >>>>
> >>>> A
> >>>> E
> >>>> ...
> >>>>
> >>>>
> >>>> 300
>
gt;>> ...
>>>>
>>>>
>>>> 300
>>>> 400
>>>> ...
>>>>
>>>>
>>>>
>>>> 6
>>>>
>>>> A
>>>> C
>>>> ...
>>>&
>>
> >>
> >>200
> >>400
> >>...
> >>
> >>
> >>
> >> Query: …?q=options:A
> >>
> >> Facet: 200 (2), 300 (1)
> >>
> >> Thank you
> >> Torben
> >>
> >>
e a field called "option_value_pairs" with values like "A 200" and
>> then query with a quoted phrase "A 200".
>>>
>>> You could use a special character like equal sign instead of space:
>> "A=200" and then you don't have to
se "A 200".
> >
> > You could use a special character like equal sign instead of space:
> "A=200" and then you don't have to quote it in the query.
> >
> > -- Jack Krupansky
> >
> > -Original Message- From: Torben Honigbaum
> >
From: Torben Honigbaum
> Sent: Thursday, October 04, 2012 11:03 AM
> To: solr-user@lucene.apache.org
> Subject: Problem with relating values in two multi value fields
>
> Hello,
>
> I've a problem with relating values in two multi value fields. My documents
> look like
k Krupansky
-Original Message-
From: Torben Honigbaum
Sent: Thursday, October 04, 2012 11:03 AM
To: solr-user@lucene.apache.org
Subject: Problem with relating values in two multi value fields
Hello,
I've a problem with relating values in two multi value fields. My documents
look like t
Hello,
I've a problem with relating values in two multi value fields. My documents
look like this:
3
A
B
C
D
200
400
240
310
My problem is that I've to search for a set of documents and display only the
value for option A, for exampl
11 matches
Mail list logo