lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "袁武 [GMail]" <>
Subject Re: Re: How to do Multiple-Cluster Query?
Date Sat, 02 Apr 2011 08:22:13 GMT
Dear Erickson:

Thanks to your reply.

But if a,b, c are numeric,  how can i run range query? And if can ,how about the performance?

Thanks in advance.


袁武 [GMail] 

发件人: Erick Erickson 
发送时间: 2011-04-02  02:16:55 
收件人: java-user 
主题: Re: How to do Multiple-Cluster Query? 
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....
2011/4/1 袁武 [GMail] <>
> 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]
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message