RE: boosting results with a field from the index

2006-01-03 Thread Klaus Hubert
e the Document#setBoost javadoc for info. You could also sort on the field, I think, so that the more important docs come to the top. -Grant Klaus Hubert wrote: >Hi and a Happy New Year! > >I created a lucene index with 2 fields (text and importance). The text contains the real text and i

boosting results with a field from the index

2006-01-03 Thread Klaus Hubert
Hi and a Happy New Year! I created a lucene index with 2 fields (text and importance). The text contains the real text and importance is a field where I manually give a number between 1 and 5 for the related document. When I search the index I find the documents with the highest revelancy weig

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
ial warning: MySQL's JDBC driver has a bug leading to OutOfMemory if you do a select with lots of rows. You must download the latest JDBC(dev version) and use setFetchSize(). Chris --- Full-Text Search on Any Database http://www.dbsight.net On 7/13/05, Klaus Hubert <[EMAIL PROTECTED]> wr

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
point on hte code and then use Use the Debug tab under Run. this is a Lucene Form Guys Karthik -Original Message- From: Klaus Hubert [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 5:54 PM To: java-user@lucene.apache.org Subject: RE: SIMPLE Lucene / MySQL Indexer Hi

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
rld practical. Are you need to add is 10 lines of >mysql type java/jdbc code and you are ready to create your first index. >Download luke for lucene, GUI testing tool so you can browse the index, >perform searches, validate/test search performan bottlenecks, dissect >queries, etc. > &

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
u need to add is 10 lines of mysql type java/jdbc code and you are ready to create your first index. Download luke for lucene, GUI testing tool so you can browse the index, perform searches, validate/test search performan bottlenecks, dissect queries, etc. On Wednesday, July 13, 2005, at 05:0

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
rs.getString("f2")); ldoc.add(Field.Keyword("f3", rs.getString("f3")); ... iw.addDocument(ldoc); } rs.close(); iw.close(); On the IDE front, most people seem to use Eclipse nowadays. -- Ian. On 13/07/05, Klaus Hubert <[EMAIL PROTECTED]> wrote: > Hi, &

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
MySQL Indexer Also Hibernate, you can use Eclipse as an IDE, with the Hibernator plugin to create objects cleanly from your MySQL database and then a few lines will fetch an object which you could then be passed to Lucene for indexing. Nader Henein Klaus Hubert wrote: >Hi, > >I played with

RE: SIMPLE Lucene / MySQL Indexer

2005-07-13 Thread Klaus Hubert
u --- Full-Text Search on Any Database http://www.dbsight.net Klaus Hubert wrote: >Hi, > >I played with several search engines to replace MySQL FULLTEXT index >and hope that Lucene is the best solution for that. > >I am reading Mannings book on Lucene in action and it seems to be

SIMPLE Lucene / MySQL Indexer

2005-07-12 Thread Klaus Hubert
Hi, I played with several search engines to replace MySQL FULLTEXT index and hope that Lucene is the best solution for that. I am reading Mannings book on Lucene in action and it seems to be the most powerful search engine I found so far. I'm stuck at some problem and need help from you experts.