:1. is the maxFieldLength parameter deprecated?
:2. what is maxFieldLength counting? I understood it's counting tokens
:per document (not per field)
:3. what if I simply remove the maxFieldLength setting from the
:solrconfig?
1. it has been deprecated and will not be used in S
Dan A. Dickey wrote:
I just came across the maxFieldLength setting for the mainIndex
in solrconfig.xml and have a question or two about it.
The default value is 1.
I'm extracting text from pdf documents and
storing them into a text field. Is the length of this text field limited
to 1 ch
I believe it's 10,000 tokens, not characters, but that's a quibble.
Yes, you need to change maxFieldLength to be greater than
any doc you expect to index. It can be made huge, I don't
think there's a penalty for making this number, say, 100,000,000
and indexing documents with only 10 tokens.