That tutorial seems to be somewhat dodgy. You need at least one more
step of adding DIH library in solrconfig.xml:
https://github.com/apache/lucene-solr/blob/lucene_solr_4_10_2/solr/example/example-DIH/solr/db/conf/solrconfig.xml#L75
(I recommend using absolute path though).

Also, you should not need to spell the full class out. See lower down
in the same class:
https://github.com/apache/lucene-solr/blob/lucene_solr_4_10_2/solr/example/example-DIH/solr/db/conf/solrconfig.xml#L823

Finally, in the config file, I don't remember document element having
a name. Again, the working example can be found in the same directory:
https://github.com/apache/lucene-solr/blob/lucene_solr_4_10_2/solr/example/example-DIH/solr/db/conf/db-data-config.xml#L3

Solr ships with a bunch of examples. If you are using/download
standard distribution, you could start from those until you understand
how it all hangs together.

Regards,
   Alex.

Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 2 November 2014 21:26, Tim Dunphy <bluethu...@gmail.com> wrote:
> Hi Alex,
>
>
>> I thought the "<span style="font-family: Trebuchet MS, sans-serif;">"
>> and the ending span were broken email thing but they seem to be in the
>> solrconfig.xml file as well. I would start from removing those and
>> leaving just the actual definition.
>
>
> Thanks for your response!
>
> OK so I tried your suggestion of removing those span tags like so:
>

Reply via email to