Filter.getDocIdSet() returning null, and what this means for CachingWrapperFilter

2010-05-25 Thread Daniel Noll
Hi all. We are seeing an exception like this: java.lang.NullPointerException at org.apache.lucene.search.CachingWrapperFilter.docIdSetToCache(CachingWrapperFilter.java:84) at org.apache.lucene.search.CachingWrapperFilter.getDocIdSet(CachingWrapperFilter.java:112) at com.nuix.storag

Re: Arrange terms[i]

2010-05-25 Thread manjula wijewickrema
Dear Grant, Thanks for your reply. Manjula On Mon, May 24, 2010 at 4:37 PM, Grant Ingersoll wrote: > > On May 20, 2010, at 5:15 AM, manjula wijewickrema wrote: > > > Hi, > > > > I wrote aprogram to get the ferquencies and terms of an indexed document. > > The output comes as follows; > > > > >

Test File locks

2010-05-25 Thread Spencer Tickner
Hi Everyone, Thanks in advance for any help. I've been building lucene index to a MS Windows Server 2003 test environment with no problem. When attempting to build the same index onto a Windows Server 2008 machine I get the following error: Cannot create directory: \\whatever\index at o

Re: indexWriter.addIndexes, Disk space, and open files

2010-05-25 Thread Regan Heath
Windows XP. The problem occurs on the local file system, but to replicate it more easily I am using http://www.ltr-data.se/opencode.html#ImDisk to mount a virtual 10mb disk on F:\. It is formatted as an NTFS file system. The files can be removed normally (delete from explorer or command promp

Re: indexWriter.addIndexes, Disk space, and open files

2010-05-25 Thread Erick Erickson
What op system and what file system are you using? Is the file system local or networked? What does it take to remove the files. That is, can you do it manually after the program shuts down? Best Erick On Tue, May 25, 2010 at 5:42 AM, Regan Heath < regan.he...@bridgeheadsoftware.com> wrote: > >

Re: Add more than 1 filter on a search

2010-05-25 Thread liat oren
Thanks a lot! Have a nice day, Liat On 25 May 2010 15:39, Ian Lea wrote: > org.apache.lucene.misc.ChainedFilter in contrib. > > > -- > Ian. > > > > On Tue, May 25, 2010 at 1:15 PM, liat oren wrote: > > Hi, > > > > I would like to have more than 1 filter on a query - I have two range > > filte

Re: Add more than 1 filter on a search

2010-05-25 Thread Ian Lea
org.apache.lucene.misc.ChainedFilter in contrib. -- Ian. On Tue, May 25, 2010 at 1:15 PM, liat oren wrote: >  Hi, > > I would like to have more than 1 filter on a query - I have two range > filters, and some filters on other fields. > What is the best way to do it? > > Many thanks, > liat >

Add more than 1 filter on a search

2010-05-25 Thread liat oren
Hi, I would like to have more than 1 filter on a query - I have two range filters, and some filters on other fields. What is the best way to do it? Many thanks, liat

indexWriter.addIndexes, Disk space, and open files

2010-05-25 Thread Regan Heath
Hi, Appologies if this the wrong place to post this, or if it has been answered somewhere (I have searched and failed to find anything matching my case exactly). We're using Lucene 2.3.2 (an old version, I know). We have a system where we use a number of master indexes and a number of temp inde

Re: Applying term frequency thresholds on indexing time

2010-05-25 Thread Michael McCandless
Also have a look at the index pruning tool: https://issues.apache.org/jira/browse/LUCENE-1812 Mike On Mon, May 24, 2010 at 7:25 AM, Xaida wrote: > > Hi guys! > > does there exist a way to define some threshold on the terms I wanna store > in the index(before they are indexed). I need to sto