RE: Special characher & ; : % index/search question

2006-07-24 Thread Herbert Wu
Hi, Martin, This may work if I can assume which field to contain the special chars. I will look over the data and see if it is possible. Thanks. -Herbert -Original Message- From: Martin Braun [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 2:43 AM To: java-user@lucene.apache.org Sub

RE: Special characher & ; : % index/search question

2006-07-23 Thread Herbert Wu
ries that way (it's a drop-down on the search page, upper right as I remember). On 7/22/06, Herbert Wu <[EMAIL PROTECTED]> wrote: > > Hi, all, > > My document's title field contains standalone(not contained inside a word) > special char such as &,:,%,; etc. With

Special characher & ; : % index/search question

2006-07-22 Thread Herbert Wu
Hi, all, My document's title field contains standalone(not contained inside a word) special char such as &,:,%,; etc. With luke0.6 tool, I found that these chars are not indexed in the title field or any other place and hence not searchable. Is there any way to index these special chars for search

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