Re: Sorted Index

2007-10-27 Thread Andrzej Bialecki
John Patterson wrote: Yonik Seeley wrote: On 10/26/07, John Patterson <[EMAIL PROTECTED]> wrote: Most things in an inverted index are sorted (terms, matching document ids, term positions within a field, etc). Can you be more specific about what you are trying to accomplish? Sorry, I mean s

Adding and populating a field

2007-10-27 Thread Keith Rhodes
I have a set of documents with filenames that give a good indication of content. A filename of 12 digits (I think this is [0-9]{12} as a regular expression) with the extension html is a troubleshooting guide, the number being an error code. A filename with two or three letters, then a minus (whi

Exception with org.apache.lucene.store.Directory

2007-10-27 Thread dinesh chothe
Hello, I am getting one exception while running my Search.jsp. Exception is org.apache.lucene.store.Directory.* ;not found. Even I have using lucene1.3, lucene1.4,lucene2.2 jars in my project. Following are my import statements in

Re: Cache BitSet or doc number?

2007-10-27 Thread Paul Elschot
Have a look at decoupling Filter from BitSet: http://issues.apache.org/jira/browse/LUCENE-584 There also is a SortedVIntList there that stores document numbers more compactly than BitSet, and an implementation of CachingFilterQuery (iirc) that chooses the more compact representation of BitSet an

Re: Exception with org.apache.lucene.store.Directory

2007-10-27 Thread Daniel Naber
On Saturday 27 October 2007 13:20, dinesh chothe wrote: > <%@ page import= "org.apache.lucene.store.Directory.* "%> That's a class, not a package, so try: <%@ page import= "org.apache.lucene.store.Directory "%> Similar for the other classes. Regards Daniel -- http://www.danielnaber.de

Re: Adding and populating a field

2007-10-27 Thread Erick Erickson
no automatic way, you to do it yourself. Presumably, you have some master list of categories that you can map your file names to, so as you index each file you have to look up the category and add it to the document you are about to index. Best Erick On 10/27/07, Keith Rhodes <[EMAIL PROTECTED]>

Re: Exception with org.apache.lucene.store.Directory

2007-10-27 Thread dinesh chothe
Thanks for your reply. I have changed my all imports. Even I am using <%@ page import= "org.apache.lucene.store.Directory "%> still also I am getting same error. Also strange thing is if I run my .java file for search it works fine but when I call this search function u

Re: Exception with org.apache.lucene.store.Directory

2007-10-27 Thread Daniel Naber
On Saturday 27 October 2007 15:11, dinesh chothe wrote: > Thanks for your reply. I have changed my all imports. > Even I am using > <%@ page import= "org.apache.lucene.store.Directory "%> > still also I am getting same error. Are your JAR files (Lucene etc) in WEB-INF/lib in your web ap