How are you crawling your info? Somewhere you have to inject the source into the document, <copyField> 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. Or you could implement a custom Transformer that inserted it for you. Best Erick On Wed, Nov 2, 2011 at 10:52 AM, Fred Zimmerman <zimzaz....@gmail.com> wrote: > 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) > <copyfield> to add a string to each data set as I import it, e.g. > "website-X-crawl". So my question is, how do I insert a string value into > a blank field? >