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 <shalinman...@gmail.com> wrote: > On Sat, Oct 3, 2009 at 1:16 AM, Elaine Li <elaine.bing...@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. >