SimpleHTMLFormatter Class

2005-06-24 Thread Giovanni Dima
I would want to create an extract of text in order to evidence the text part in which some keywords appear (tipical of seach engine results). The java class SimpleHTMLFormatter, Highlighter can be useful to this? They belong package lucene or th are the other java package? Thanks.. Giovanni

Re:Re:How lucene and nucth work together?

2005-06-24 Thread Giovanni Dima
Hi Andrzej. Thanks a lot for your advices! Using Luke I've resolved my problem! Bye! Giovanni

Re:Re:How lucene and nucth work together?

2005-06-23 Thread Giovanni Dima
Andrzej, I'm so sorry about still disturbing you! I followed your suggest and i have found this code: try { searcher = new IndexSearcher( IndexReader.open(indexName) //create an indexSearcher for our page ); } catch (Exception e

Re:Re:How lucene and nucth work together?

2005-06-22 Thread Giovanni Dima
Andrzej, tanks for the reply. I'm sorry but i've another (similar) question... Lucene and nutch use the same parser and analyzer? I seems to understand that the segments created from the nutch are different from those creating from lucene. I've installed nutch and I've created folders db and seg

How lucene and nucth work together?

2005-06-22 Thread Giovanni Dima
Hi! We're trying to use nutch as web-spider and lucene as indexer and searcher. Nutch and Lucene work good separately, but we do not succeed to link lucene to the index created by nutch. We've modified the file "configuring.jsp" specifying in the "indexLocation" the index file created by Nutch,