lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Carvalho <felipe.carva...@gmail.com>
Subject Boost term according to phonetic representation
Date Mon, 30 Jan 2012 22:35:53 GMT
Consider a people index, containing People documents with the following
names:

Doc 1 [name: "Marcus"]
Doc 2 [name: "Markus"]
Doc 3 [name: "Mharcus"]

Suppose I use an analyzer so that all 3 names have the same representation.
Supposing I use the same analyzer when running a search for name=markus, is
there a way to make Markus appear on top of the others?

I was looking at this article (
http://lucene.apache.org/java/3_5_0/queryparsersyntax.html#Boosting%20a%20Term)
but I'm not sure it applies to what I need.

Thanks

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