Hi,
if I define one of my normal fields from schema.xml in solrconfig.xml
for spellchecking all works fine:
<lst name="spellchecker">
...
<str name="field>content</str>
...
</lst>
But i want to use spellcheck for much more fields. So I tried to
define in schema.xml a copyfield like this:
<copyField source="*" dest="spell"/>
That didnt work, because nothing was in "spell" after that.
Next try was to copy each field in a line to "spell":
<copyField source="content" dest="spell"/>
<copyField source="name" dest="spell"/>
<copyField source="title" dest="spell"/>
...
This does work up to 3 documents, if i define more, the count for failed
documents in dataimporthandler gets higher and higher the more i copy
into "spell".
<str name="Total Documents Failed">16444</str>
So my question is, if this is the right way to use the spellchecker with
many fields, or is there an other "better" way...
thanks.
greetz, Jan
Am 03.05.2010 16:08, schrieb Erick Erickson:
It would help a lot to see your actual config file, and if you provided a
bit more
detail about what failure looks like....
Best
Erick
On Mon, May 3, 2010 at 9:43 AM, Jan Kammer<jan.kam...@mni.fh-giessen.de>wrote:
Hi there,
I want to enable spellchecking, but i got many fields.
I tried around with copyfield to copy all with "*" in one field, but that
didnt work.
Next try was to copy some fields specified each by name in one field named
"spell", but that worked only for 2 or 3 fields, but not for 10 or more...
My question is, what the best practice is to enable spellchecking on many
fields.
thanks.
greetz, Jan