Breaking up words with a certain pattern and search by parts

2002-04-05 Thread Sheldon Shi
In my project I would like to search for product code such as MEM12345 either by "MEM" or by "12345". I can't do that right now in Lucene 1.2. Prefix query doesn't do prefix search followed by numbers, and there is no "end with" type of search. How do I modify the HTMLParser to index MEM12345 as

Wildcard search - Why can't I search for *term?

2002-04-04 Thread Sheldon Shi
As I understand it Lucene does not support wildcard search terms in the form of *term. But in my project I need to search for terms by their tails. Does anyone have a work around? Thanks. Sheldon -- To unsubscribe, e-mail: For additional commands, e-mail:

Problem when updating a document in an index

2002-02-06 Thread Sheldon Shi
When I tried to update a single document in an index, I deleted it first and then added it to the index again. But when I do search both the old version and the new version show up. When I look at the index files, the deletable contains the files that are supposedly to be deleted, but somehow I c