lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to do Multiple-Cluster Query?
Date Fri, 01 Apr 2011 18:16:24 GMT
You might consider a multiValued field and a positionIncrementGap longer
than the longest <a, b, c> tuple.
At that point, you can search for phrase queries where the slop is less than
the positionIncrementGap.

I'm a bit rushed, so if you need more details we can talk later....

Best
Erick

2011/4/1 袁武 [GMail] <yuanwu.mail@gmail.com>

> Hi, dear experts:
>
> Assume that a tuple is composed of <<A1, B1, C1>,<A2,B2,C2>,...,<AN,BN,CN>,
> Value>.
> IF AK is stored in Field A, BK is stored in Field B, CK is stored in Field
> C (1<=K<=N), so there are N A fields,N B fields and N C fields.
> The question is if I want to query whith the condition of <a,b,c>, how can
> i get the exact value correspoding to <a,b,c>.
>
> longing for your helps
>
>
> Thanks in advance.
>
> 2011-04-01
>
>
>
> Yuan Wu [GMail]
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message