Re: Lucene Installation With Eclipse

2005-11-28 Thread Oren Shir
Hi, What do you mean? Do you want to add the jar file to the compile classpath, or to add some plugin that will search your classes? Oren Shir On 11/26/05, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote: > > Hi i just started learning Lucene , i have a very basic question that

Re: Commit changes

2005-11-28 Thread Oren Shir
ne in Action". Good Luck, Oren Shir On 11/25/05, Malcolm Clark <[EMAIL PROTECTED]> wrote: > > Hi, > I am not that experienced with Java and am attempting to implement the > commit method for the IndexReader for the application I'm developing. > I am trying to extend

Re: Commit changes

2005-11-28 Thread Oren Shir
ne in Action". Good Luck, Oren Shir On 11/25/05, Malcolm Clark <[EMAIL PROTECTED]> wrote: > > Hi, > I am not that experienced with Java and am attempting to implement the > commit method for the IndexReader for the application I'm developing. > I am trying to extend

Re: Throughput doesn't increase when using more concurrent threads

2005-11-22 Thread Oren Shir
anks again, Oren Shir On 11/21/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > > Jay Booth wrote: > > I had a similar problem with threading, the problem turned out to be > that in > > the back end of the FSDirectory class I believe it was, there was a > > synchr

Re: Throughput doesn't increase when using more concurrent threads

2005-11-21 Thread Oren Shir
g like you suggested. Any thoughts about adding this functionality to Lucene core? Thanks again, Oren Shir On 11/21/05, Jay Booth <[EMAIL PROTECTED]> wrote: > > I had a similar problem with threading, the problem turned out to be that > in > the back end of the FSDirectory class I

Re: Throughput doesn't increase when using more concurrent threads

2005-11-21 Thread Oren Shir
n source repository. It is rather sad if 10 threads reach the CPU limit. I'll check it and get back to you. Thanks, Oren Shir

Throughput doesn't increase when using more concurrent threads

2005-11-21 Thread Oren Shir
each thread (maybe http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ThreadLocal.html)? Thanks, Oren Shir

reusing MultiSearcher vs. reusing contained IndexSearchers

2005-11-20 Thread Oren Shir
index? It will solve this problem, but probably will create a hundred more... Thanks, Oren Shir

Is there a tool that merges Lucene indexes?

2005-11-17 Thread Oren Shir
Hi, Does Luke, Lucli, or any of the existing tools enable merging Lucene indexes? Thanks, Oren Shir

Re: Reverse sorting by index order

2005-11-03 Thread Oren Shir
Hi, I've found the answer. Thanks to Andy Lee for giving me the idea to look inside Lucene's code. The line is new Sort(new SortField(null, SortField.DOC, true)) What got me confused is the null in the constructor, but I see that's the way it is used in SortField. Oren Shir O

Re: Reverse sorting by index order

2005-11-03 Thread Oren Shir
I use 1.4.3 . Any other options? On 11/3/05, Andy Lee <[EMAIL PROTECTED]> wrote: > > On Nov 3, 2005, at 10:22 AM, Oren Shir wrote: > > There is no constructor for Sort(SortField, boolean) in Lucene API. > > Which > > version are you using? > > I think 1.9rc1.

Re: Reverse sorting by index order

2005-11-03 Thread Oren Shir
Hi, There is no constructor for Sort(SortField, boolean) in Lucene API. Which version are you using? Thanks, Oren Shir On 11/3/05, Andy Lee <[EMAIL PROTECTED]> wrote: > > On Nov 3, 2005, at 9:37 AM, Oren Shir wrote: > > If I understand correctly, when sorting by Sort.IND

Reverse sorting by index order

2005-11-03 Thread Oren Shir
more consuming? Thanks, Oren Shir

what is the best way to sort by document ids

2005-11-01 Thread Oren Shir
an INT. 3) Trust that using INDEXORDER will always return the same order as SORT_ID, and use that. Thanks, Oren Shir

Re: Lucene/Digester

2005-10-19 Thread Oren Shir
Hi, About your first question: How do you know that only the last "Chapter" element is stored? could it be that you are only getting the last one? Try using getValues() instead of get. Oren On 10/16/05, Malcolm Clark <[EMAIL PROTECTED]> wrote: > > Hi all, > I'm using Lucene/Digester etc for my MS

Re: Getting index lock while indexing

2005-10-11 Thread Oren Shir
Do you keep open IndexReader, IndexWriter or IndexSearcher? Try closing them suring shutdown On 9/29/05, M å n i s h <[EMAIL PROTECTED]> wrote: > > > Hi, > I am having trouble indexing files sometimes, > My application is deployed in tomcat and some times when I try to stop and > restart indexing

Re: Stale NFS file handle Exception

2005-09-21 Thread Oren Shir
Hi, There is an issue with file locking and NFS, which requirs setting some system property for lock files directory that must be local. Might be relevant. Oren On 9/21/05, John Wang <[EMAIL PROTECTED]> wrote: > > How do you "update" the index? > > -John > > On 9/12/05, Harini Raghavan <[EMAIL P