Re: searching portions of an index

2005-12-21 Thread Murali
On 12/22/05, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > If the set of documents viewable by a given person is truely an arbitrary > list of document identifiers stored in a DB somewhere, then build a Filter > that knows how to access that list, and sets the bits only on the document > identif

Re: searching portions of an index

2005-12-21 Thread Chris Hostetter
: document might be accessible by different users. I want to implement this : without indexing a document multiple times. The approach I thought of was to : use a field that is indexed, as well as stored in the index, which contains : the ids of all the users that can access the document. I could

Re: searching portions of an index

2005-12-21 Thread Murali
Thanks for your reply. But your suggestion is not applicable to my situation because 'users' of our system dont correspond to unix users, and different users are not related in any way, so there is no logical way to split them into groups. Murali On 12/21/05, Mordo, Aviran (EXP N-NANNATEK) <[EMAIL

RE: NullPointerException in ParallelMultiSearcher

2005-12-21 Thread Zhang, Lisheng
Thanks for helps, I know the RunTimeException when I use a undefined field to sort, but this NullPointerException is different. >From the code we can see this exception is not due to throwing, just because TopDocs object is null. Best regards, Lisheng -Original Message- From: Ronnie Kole

RE: searching portions of an index

2005-12-21 Thread Mordo, Aviran (EXP N-NANNATEK)
You approach is correct but you should use groups instead of users. So just give a group permission, and add users to groups, this way you don't have to worry about reindexing when adding more users, just add the user to the group. Aviran http://www.aviransplace.com -Original Message- Fro

searching portions of an index

2005-12-21 Thread Murali
Hi, I am new to lucene. We need to provide search to several users of a system. Each user has access to a (different)set of documents. The same document might be accessible by different users. I want to implement this without indexing a document multiple times. The approach I thought of was to

Re: indexing

2005-12-21 Thread tariq md
hi revathi, we used quartz scheduler to schedul the in dexing,u try this url www.opensymphony.com/quartz/ it may b useful Wit regards Tariq revati joshi <[EMAIL PROTECTED]> wrote: we are lucene users . we have performed indexing .we are stuck up with a problem how do we per

indexing

2005-12-21 Thread revati joshi
we are lucene users . we have performed indexing .we are stuck up with a problem how do we perform constant indexing (or updating the index) without manually running the indexing.class file. and which is the better option either updating it at startup or while running the jar file.

Re: NullPointerException in ParallelMultiSearcher

2005-12-21 Thread Ronnie Kolehmainen
I believe the most common case is when you do a search with Sort (AUTO feature), and one of the fields you sort by is empty. The underlying IndexSearcher throws a RuntimeException and "docs" (result from searcher.search()) is never set, which results in a NullPointerException when hits() is cal