[jira] Commented: (LUCENE-323) [PATCH] MultiFieldQueryParser and BooleanQuery do not provide adequate support for queries across multiple fields

2005-12-12 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-323?page=comments#action_12360275 ] Yonik Seeley commented on LUCENE-323: - Thanks for the changes Chuck! Your patch was backwards, BTW :-) I haven't had a chance to run any benchmarks, but I committed this

Re: Directory Implementation: Java Content Repository

2005-12-12 Thread Erik Hatcher
Nicolas, This is great news! The first step to getting your code within the Lucene repository would be to organize it a manner similar to the other contributed projects. I think this one fits nicely as contrib/ jcr. License the code with the Apache license, get the build process workin

Directory Implementation: Java Content Repository

2005-12-12 Thread Nicolas Belisle
Hi, I've implemented a Directory (org.apache.lucene.store.Directory) using Java Content Repository (http://www.jcp.org/en/jsr/detail?id=170). With it, indexes can be stored in any persistence technology supported by a Java Content Repository implementation. For example, Jackrabbit (the refer

RE: IndexWriter.addIndexes(Directory[] dirs)

2005-12-12 Thread Kevin Oliver
I see it stripped my attachment off. Here's the code: import junit.framework.TestCase; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.IndexWriter; import

RE: IndexWriter.addIndexes(Directory[] dirs)

2005-12-12 Thread Kevin Oliver
Volodymyr, I tried this patch out, and unfortunately it doesn't appear to work for me. Is there something I missed? I'll try attaching my Junit test case that works when the code is unpatched, but fails on the final assertion expecting 2 hits (on line 63) when I used the patched IndexWriter.java.

Re: Character encoding per index.

2005-12-12 Thread Marvin Humphrey
On Dec 12, 2005, at 10:04 AM, karl wettin wrote: 12 dec 2005 kl. 16.40 skrev karl wettin: Hello list, I'm looking for a way to change character encoding per index. It feels silly to store chinese characters in 3 bytes using UTF-8 when it is possible to do it with 2 bytes using UTF-16. By

Re: Character encoding per index.

2005-12-12 Thread karl wettin
12 dec 2005 kl. 16.40 skrev karl wettin: Hello list, I'm looking for a way to change character encoding per index. It feels silly to store chinese characters in 3 bytes using UTF-8 when it is possible to do it with 2 bytes using UTF-16. By just hacking the IndexInput and IndexOutput I qu

Character encoding per index.

2005-12-12 Thread karl wettin
Hello list, I'm looking for a way to change character encoding per index. It feels silly to store chinese characters in 3 bytes using UTF-8 when it is possible to do it with 2 bytes using UTF-16. By just hacking the IndexInput and IndexOutput I quick and dirty got it all running in UTF-16

IndexWriter.addIndexes(Directory[] dirs)

2005-12-12 Thread Volodymyr Bychkoviak
IndexWriter in addIndexes(Directory[] dirs) method optimizes index before and after operation. Some notes about this: 1). Adding sub indexes to large index can take long because of double optimization. 2). This breaks IndexWriter.maxMergeDocs logic, because optimize will merge data into single