lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Yi <>
Subject It is possible to change the meaning of a match in lucene
Date Thu, 22 Apr 2010 21:09:17 GMT
Dear all,

I want to provide hierarchical matching in Lucene. For example,
in a document, there is a field and its value:

 transportation: vehicle

and suppose there is a class/subclass relationship saying that
car is a subclass of vehicle, and bus is a subclass of vehicle.

I want the query:
transportation: car
to match the document because car is a subclass of vehicle.

Is it possible to change the part where Lucene decide if a term is matched?
So I can take the subclass relationship into account?

Many thanks.
Jason Wei
Chair of Software Engineering, ETH Zurich

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