List Info

Thread: Re: Use PyLucene with Nutch index




Re: Use PyLucene with Nutch index
user name
2007-06-02 19:30:46
Thanks.
I realized that the Nutch use "anchor" instead of
"Keyword" as search field. After change
mansearch.py,
it works fine with Nutch index.
 

--- Andi Vajda <vajdaosafoundation.org>
wrote:

> 
> On Sat, 2 Jun 2007, kevin Chen wrote:
> 
> > I am using Nutch to crawl and index Web sites.
But
> I'd
> > like use a python interface to do the search. Can
> this
> > be done? Can I use PyLucene to search Nutch
index?
> 
> Yes, I assume so. PyLucene and Lucene indexes are
> identical.
> I've never used Nutch nor do I know much about it
> but if its index is a Lucene 
> index, then PyLucene should be able to work with it
> as well.
> 
> > I tried to use mansearch.py and pointed index to
> nutch
> > index directory, but the search never returned
any
> > results.
> 
> mansearch.py searches indexes produced by
> manindex.py. Unless the Nutch index 
> you use has the same schema (field names on
> documents), you won't find much 
> with mansearch.py. To search an index, you need to
> know what fields to search 
> on.
> 
> Andi..
> _______________________________________________
> pylucene-dev mailing list
> pylucene-devosafoundation.org
>
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
> 



       
____________________________________________________________
________________________
Moody friends. Drama queens. Your life? Nope! - their life,
your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/ 

_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )