Chinese words highlighting

2007-07-05 Thread Lee Li Bin
Hi, Anyone knows how to highlight Chinese character? When I do the highlight, it tends to highlight the whole sentence instead of the keywords. For Chinese highlighting, do I need to use the TermVector in order to highlight the correct keywords? Thanks

RE: Pagination

2007-07-02 Thread Lee Li Bin
Hi, I still have no idea of how to get it done. Can give me some details? The web application is in jsp btw. Thanks a lot. Regards, Lee Li Bin -Original Message- From: Chris Lu [mailto:[EMAIL PROTECTED] Sent: Saturday, June 30, 2007 2:21 AM To: java-user@lucene.apache.org Subject

RE: Pagination

2007-07-02 Thread Lee Li Bin
Hi, Thanks Mark! I do have the same question as Alixandre. How do I get the content of the document instead of the document id? Thanks. Regards, Lee Li Bin -Original Message- From: Alixandre Santana [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 12:55 AM To: java-user

RE: Pagination

2007-07-02 Thread Lee Li Bin
Hi Mark, How do I display results on the second page? I manage to display on one page using your coding. Regards, Lee Li Bin -Original Message- From: Alixandre Santana [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 12:55 AM To: java-user@lucene.apache.org Subject: Re

Pagination

2007-06-29 Thread Lee Li Bin
Hi, does anyone knows how to do pagination on jsp page using the number of hits return? Or any other solutions? Do provide me with some sample coding if possible or a step by step guide. Sry if I'm asking too much, I'm new to lucene. Thanks

TermVector

2007-06-24 Thread Lee Li Bin
Hi, May I know how do I store TermVector? When I set the last parameter to true, isn't it setting storeTermVector to true? But I get null value in TermFreqVector. BTW, I'm using lucene 1.4.3 Not intended to upgrade to 2.0 docAll.add(Field.Text(contentText, new

RE: Lucene for chinese search

2007-06-19 Thread Lee Li Bin
: http://wiki.dbsight.com/index.php? title=Create_Lucene_Database_Search_in_3_minutes On 6/18/07, Lee Li Bin [EMAIL PROTECTED] wrote: Hi, For indexing, there is no problem, there is Chinese text similar to my datasource (XML) in the index file when opening on a note pad. When I try

Lucene Query

2007-06-18 Thread Lee Li Bin
found in file: + doc.get(path)); System.out.println(Content: + doc.get(text)); } Regards, Lee Li Bin

RE: Lucene for chinese search

2007-06-18 Thread Lee Li Bin
:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 8:58 PM To: java-user@lucene.apache.org Subject: Re: Lucene for chinese search Lee Li Bin a écrit : Hi, I still met problem for searching of Chinese words. XMl file which is the datasource and analyzer has already been encoded. Have testing

Lucene index performance

2007-06-17 Thread Lee Li Bin
Hi, I would like to know how's the performance during indexing and searching of results on a large index files would be like. And is it possible to create multiple index files and search across multiple index files? If possible, may I know how could it be done? Thanks a lot.