Hello everybody,
this is what I would like to do:
I have an index with documents containing a field 'authors'. I would like to find all documents
that have authors similar to a given author-string. One could do this by a special query,
relying on lucenes scoring/ranking mechanism.
But I would like to do it different: I want to use my own similarity implementation, one that
is based on regular expressions for example. An example is that this author string "Arthur
Gabriel, Peter Davis and Kate Janeway " is equal (highest possible similarity) to this one
"A. Gabriel & P. Davis & K. Janeway".
Is there a way doing things like this in lucene? To give a similarity implementation completely
different (e.g. based on regular expressions) than lucenes scoring function?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|