Changing Similarity on existing index

2006-10-02 Thread Shane Perry
I have an existing index which was created with DefaultSimilarity. I want to update the index to use my own Similarity class (need to change the lengthNorm). I wrote a quick script which creates a new index, calls setSimilarity(new MySimilarity) for that indexes IndexWriter, and then calls wr

Re: cache persistent Hits

2006-09-27 Thread Shane Perry
As I am always looking for ways to enhance a searches response time, if I were to use the MultiReader as suggested, would it still be possible to determine which index a hit came from? Currently I use the MultiSearcher.subSearcher() method to determine this information. After taking a, albei

Re: Highligher Example

2006-09-11 Thread Shane Perry
Not sure if this is something of interest, but there is an open source project called File2XLIFF4j on Sourceforge.net (http://file2xliff4j.sourceforge.net/). The project converts many common file formats to XLIFF. It may be useful for getting a common format, highlighting, and the recreating

Determining index from MultiSearcher

2006-09-07 Thread Shane Perry
for each returned Document. Does anybody know if there currently some built-in functionality to do this? Shane Perry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]