wildcard search constraints?

2006-02-17 Thread Xin Herbert Wu
Hi, I have a lucene index library field "slug" which has a string value "abc-nws-hurr29". When using these settings: - Use QueryParser - StandardAnalyzer I have some strange behaviors: (1) The field query slug:abc*hurr2* works only if the field type is "Keyword". The query fails if th

RE: Field search problem(only single word query works)

2006-02-06 Thread Xin Herbert Wu
) I recommend you take a look at your indexes with Luke and see what actually is indexed. Erik On Feb 4, 2006, at 11:54 PM, Xin Herbert Wu wrote: > Hi, > > I have two libraries A and B indexed from database tables where A > has about > 10 fields and B has about 30 fiel

Field search problem(only single word query works)

2006-02-04 Thread Xin Herbert Wu
Hi, I have two libraries A and B indexed from database tables where A has about 10 fields and B has about 30 fields(with about a couple of hundred records). A and B both have a TEXT type field "headline" reading data from the same database table column. However the field query - "headline: fi

" Lock obtain timed out" Exception when doing incremental indexing

2006-01-18 Thread Xin Herbert Wu
I kept getting this exception when adding a new document to an existing index: 22:19:10,281 INFO [STDOUT] java.io.IOException: Lock obtain timed out: [EMAIL PROTECTED]:\DOCUME~1\xin\LOCALS~ 1\Temp\lucene-31c482aaf5f581ad3dc0249eeeb8d281-write.lock (Stack trace is like: 22:19:10,312 INFO

Use spell checker in lucene?

2005-11-02 Thread Xin Herbert Wu
Anyone plug-in a spell checker into lucene to implement google-like function "do you mean .?" for wrong spelled word or phrase? Also, which spell checker product is good? Thanks! -Xin

How to combine multiple fielded queries in Lucene

2005-10-27 Thread Xin Herbert Wu
I am developing a search application via Lucene and ran into a problem can be described as: Assume we have document schema with these fields: Title, Author, Summary, Publication_date(Date), Content The user query is like this: Find all documents where either Title field has word "baseba