Thorsten Scherler schrieb:
> On Wed, 2007-10-17 at 20:44 +1000, Pieter Berkel wrote:
>> There is a configuration option called "<maxFieldLength>" in
>> solrconfig.xmlwith the default value of 10,000.  You may need to
>> increase this value if
>> you are indexing fields that are longer.
>>
> 
> Is there a way to define a unlimited value? Like -1?
> 
> TIA
>
I didn't see the maxFieldLength option, but that is surely the problem,
as the document is truncated at 10000 terms.
The question is what to do about it, I certainly need a much higher
number. I doubt if it is possible to set it to unlimited.

I also found this:

"Controls the maximum number of terms that can be added to a Field for a
given Document, thereby truncating the document. Increase this number if
large documents are expected. However, setting this value too high may
result in out-of-memory errors."

Coming from: http://www.ibm.com/developerworks/library/j-solr2/index.html

That might be a problem for me.

I was thinking about using copyFields, instead of one large fulltext
field. Would that solve my problem, or would the maxFieldLength still
apply when using copyFields?

Best regards,

Max


-- 
Maximilian Hütter
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel            :  (+49) 0711 - 45 10 17 578
Fax            :  (+49) 0711 - 45 10 17 573
e-mail         :  [EMAIL PROTECTED]
Sitz           :  Stuttgart, Amtsgericht Stuttgart, HRB 24106
Geschäftsführer:  Joachim Hörnle, Thomas Gentsch, Holger Dietrich

Reply via email to