Hello all!

Newish Nutch User here so I ask for you patience !

I have setup Nutch, fiddled with some things i wanted changed and got my index, 
servlet all working fine, query results return fine all is set.

My question is, is it possible instead of a text query to the content of a page 
to do a browsing function? I'll illustrate because I may not be making any 
sense.

One of my objectives is to see if a webpage has images, indicate it as a field 
in the indexing phase such as
doc.add(new Field("hasImgs", "YES", Field.Store.YES, Field.Index.TOKENIZED));   
This works ok!

Suppose I harvest 10 web pages, 5 of those have images and 5 don't. How is it 
possible to direct my bean.search to look at the hasImgs fields for the value 
YES and then display only those? 

Provided I don't care for text-based queries - just want to see how many of my 
indexed paged have a YES in their respective field. I can do this with Luke, 
but I need it to be in the Tomcat application.

Any clues?

Thank you very much!

Maria


      

Reply via email to