You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by Srini V <vg...@gmail.com> on 2017/07/28 16:42:11 UTC

Lucene search

Hi All,

I am trying to solve a business requirement that the search should happen
on comparing 2 indexed field values.

Like FieldA value == FIeldB value or FieldAValue.Contains(FieldB value)

Is it possible to achieve this

Thanks
Sri

Re: Lucene search

Posted by "Oren Eini (Ayende Rahien)" <ay...@ayende.com>.
The easiest way is to compute that during indexing and storing whatever
they were equal, then querying on that.

*Hibernating Rhinos Ltd  *

Oren Eini* l CEO l *Mobile: + 972-52-548-6969

Office: +972-4-622-7811 *l *Fax: +972-153-4-622-7811



On Fri, Jul 28, 2017 at 7:42 PM, Srini V <vg...@gmail.com> wrote:

> Hi All,
>
> I am trying to solve a business requirement that the search should happen
> on comparing 2 indexed field values.
>
> Like FieldA value == FIeldB value or FieldAValue.Contains(FieldB value)
>
> Is it possible to achieve this
>
> Thanks
> Sri
>