Hi,
Is it possible to merge fields of two stream sources in a specific way?
Take for example two search result sets:
search_1(... fl="score")
search_2(... fl="score")
I would like to merge these two into one result set. Its score would be
computed using a custom function f(x,y) that takes take s
@lucene.apache.org
Subject: RE: Merging Fields
Jae,
The easiest way to do this is with CopyField.
These entries in your schema will accomplish that:
Field 3 will have the tokens from both field 1 and 2 in it.
If you want to merge those 2 fields for display, I would just concat them at
-
From: Jae Joo [mailto:[EMAIL PROTECTED]
Sent: Friday, October 05, 2007 9:22 AM
To: solr-user
Subject: Merging Fields
Is there any way to merge fields during indexing time.
I have field1 and field2 and would like to combine these fields and make
field3.
In the document, there are field1 and
Is there any way to merge fields during indexing time.
I have field1 and field2 and would like to combine these fields and make
field3.
In the document, there are field1 and field2, and I may build field3 using
CopyField.
Thanks,
Jae