: 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
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
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
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
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