lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nguyen" <vngu...@ur.com>
Subject how to find out if two fields are identical?
Date Wed, 12 Jul 2006 22:09:10 GMT
Is there a way to compare the values of two fields to see if they are
the same?

 

Let's say we have an index with these fields:

 

ID:                2

childID:         7

parentID:       0

--------------------

ID:                3

childID:         6

parentID:       5

--------------------

ID:                4

childID:         2

parentID:       2

--------------------

 

Based on these three documents, I want the query to return the third
document where childID=parentID.


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