Okay, I sort of answered my own question on this. 

>From looking at the index with luke, it seemed that I can use the url field
to restrict searches.  I found that the main categories in my site had
url field
values that were equal to the top level path in the url.  So I just add
search
terms like

url:gallery or url:wiki to my query strings, and viola.  How nice!

I also was able to find some information on how plugins are initialized
on the
wiki, in case anyone is interested:

http://wiki.apache.org/nutch/WritingPluginExample

The example plugin the develop was enough to get me working through if a
plugin was properly configured.

Andy


Zaheed Haque wrote:

>Maybe this could help you..
>
>http://issues.apache.org/jira/browse/NUTCH-201
>
>Cheers
>
>On 4/24/06, Andrew Libby <[EMAIL PROTECTED]> wrote:
>  
>
>>Hello,
>>
>>I'm using nutch on a single site, currently.  The site has a few major
>>sections, which
>>I'd like to allow users to restrict their searches to a particular
>>portion of the site.
>>The general guideline is by top level.  For example, if I've got
>>
>>http://site.com/documentation/
>>http://site.com/marketing/
>>http://site.com/technialstats/
>>
>>I'd like to allow users to choose if they'd like to search any
>>combination of these top
>>level trees.   One approach I can think of would be somehow causing a
>>field to be set
>>in the index, say "section", with the value being this top level name.
>>Then searching
>>could be limited to these sections by adding section:marketing, or
>>section:documentation
>>to the search query.
>>
>>Am I on the right track here, and if so, how do I go about accomplishing
>>this?
>>
>>Thanks,
>>
>>Andy
>>
>>--
>>Andrew Libby
>>[EMAIL PROTECTED]
>>http://philadelphiariders.com/
>>
>>
>>
>>    
>>
>
>  
>


-- 
Andrew Libby                                  
[EMAIL PROTECTED]
http://philadelphiariders.com/




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to