Currently I am following a long drawn approach where
1) I find index of the matching text in the original
2) For a list of words to the left of index and to the right of index+length
of matching text
3) Then a pick some words from the 1st list and prepend to my matching text
text and from my secon
When implementing your own, it also helps to look at the existing
implementations in the FieldComparator class:
http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparator.java?revision=764551
-Yonik
http://www.lucidimagination.com
On Sat, Jun 13, 2009 at 9:
It's here:
http://lucene.apache.org/java/docs/nightly/
But remember this is trunk code, ie not yet released, so stuff is
still changing.
Mike
On Sat, Jun 13, 2009 at 9:30 AM, Marc Sturlese wrote:
>
> Thanks Mike, really useful info. I have dowloaded the latest Lucene 2.9-dev
> to test the imp
Thanks Mike, really useful info. I have dowloaded the latest Lucene 2.9-dev
to test the implementation of a FieldComparatorSource but the API
documentation doesn't seem to be availabe.
I can access to the class MissingStringLastComparatorSource:
http://lucene.apache.org/solr/api/org/apache/solr/
On Fri, Jun 12, 2009 at 6:09 PM, Marc Sturlese wrote:
> I have noticed I am experiencing sort of a memory leak with a
> CustomComparatorSource (wich implements SortComparatorSource).
> I have a HashMap declared as variable of class in CustomComparatorSource:
This is unfortunately a known and rath