Re: limiting searches to particular sources

2011-11-05 Thread Chris Hostetter
: Yes -- how do I specify the field as a constant in DIH? https://wiki.apache.org/solr/DataImportHandlerFaq#How_would_I_insert_a_static_value_into_a_field_.3F -Hoss

Re: limiting searches to particular sources

2011-11-04 Thread Fred Zimmerman
Yes -- how do I specify the field as a constant in DIH? On Fri, Nov 4, 2011 at 11:17 AM, Erick Erickson wrote: > How are you crawling your info? Somewhere you have to inject the > source into the document, won't do the trick because > there's no source available > > If you're crawling the da

Re: limiting searches to particular sources

2011-11-04 Thread Markus Jelsma
Your Nutch indexes the site and host fields. If that is not enough you can use its subcollection plugin to write values for URL patterns. On Wednesday 02 November 2011 15:52:37 Fred Zimmerman wrote: > I want to be able to list some searches to particular sources, e.g. "wiki > only", "crawled only

Re: limiting searches to particular sources

2011-11-04 Thread Erick Erickson
How are you crawling your info? Somewhere you have to inject the source into the document, won't do the trick because there's no source available If you're crawling the data by yourself, you can just add the source to the document. If you're using DIH, you can specify the field as a constant

limiting searches to particular sources

2011-11-02 Thread Fred Zimmerman
I want to be able to list some searches to particular sources, e.g. "wiki only", "crawled only", etc. So I think I need to create a source field in the schema.xml. However, the native data for these sources does not contain source info (e.g. "crawled"). So I want to use (I think) to add a strin