lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chantal Ackermann <chantal.ackerm...@btelligent.de>
Subject Re: search by some functionality
Date Mon, 05 Oct 2009 14:35:28 GMT
Hi Elaine,

couldn't you do that comparison at index time and store the result in an 
additional field? At query time you could include that other field as 
condition.

Cheers,
Chantal

Elaine Li schrieb:
> Hi Shalin,
> 
> Thanks for your attention.
> 
> I am implementing a language translation search. The field1 and field2
> are two language's sentence pair. field3 is a table of indexes of
> words in field1 and field2. The table was created by some independent
> algorithm. If string1 and string2 can be found aligned in the table,
> then it is a hit. Otherwise, it should not return.
> 
> Hope I clarified what i need to achieve. Your help is greatly appreciated!
> 
> Thanks!
> 
> Elaine
> 
> On Mon, Oct 5, 2009 at 5:57 AM, Shalin Shekhar Mangar
> <shalinmangar@gmail.com> wrote:
>> On Sat, Oct 3, 2009 at 1:16 AM, Elaine Li <elaine.bing.li@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> My doc has three fields, say field1, field2, field3.
>>>
>>> My search would be q=field1:string1 && field2:string2. I also need to
>>> do some computation and comparison of the string1 and string2 with the
>>> contents in field3 and then determine if it is a hit.
>>>
>>> What can I do to implement this?
>>>
>> What exactly are you trying to achieve? What is the computation/comparison
>> that you need to do?
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>>

Mime
View raw message