Searching a hierarchical data set

2002-02-06 Thread Tom Barrett
: Tom Barrett Date: 2/6/2002 Notes: Note1: This is the first note Note2: This is my second note ... NoteN: This is my last note Now I want to do searches on these documents

Strange NullPointerException error

2002-02-01 Thread Tom Barrett
Hi all- Ran into a problem when searching a Lucene index using the latest version of the code. I tried to do a phrase query (something like +field:"day tripp") and got a NullPointerException. This construct works fine when there is something matching in the index, but seems to blow up when there

prefix query with multiple words

2001-12-03 Thread Tom Barrett
Hey all- Wondering if it's possible to a prefix query, but with multiple words; basically trying to get +artist:"eric clap*" to return documents with artists "eric clap", "eric clapton", "eric claptonean", etc. You can get close by parsing into multiple words first and prefixing the last word

io exception on recreating an index

2001-11-16 Thread Tom Barrett
Hello all- I'm currently having a problem overwriting an old index. Every night, the contents of a database I'm using get updated, so the lucene indexes are also recreated every night. The technique I'm currently using is just to start a new index on top of the old one (IndexWriter writer = new

ordering of results (alphabetical?)

2001-10-19 Thread Tom Barrett
I am wondering if it is possible to change the ordering of results from search. Specifically, we need to sort results alphabetically by a given field, rather then by term frequency. I assume there is a way to do this with HitCollector, but given the warning about performance in the javadoc I'm no