[TYPO3-Solr] Difference in autosuggest (spell field) and normal search (content field)

Jigal van Hemert jigal.van.hemert at typo3.org
Sun Jul 28 13:26:31 CEST 2013


Hi,

In a very long document (15k words) a very specific word occurs near the 
end of the document. This word is indexed in the spell field (it occurs 
in the autosuggestions in the search field), but cannot be found in a 
normal search.

I found that solr has a maxFieldLength setting of 10,000 which seems to 
limit the number of tokens that are stored in a field.
It seems that the indexing doesn't listen to this limit, only if a field 
has stored="true" the limit affects the search results (possibly because 
the token can't be found in the stored data and the document is removed 
from the search results?)

Any suggestions how to solve this? Can the index also take 
maxFieldLength into account? (Or can we set a limit with the same value?)
Increasing maxFieldLength will probably only decrease the performance 
and can't be done unlimited (there will always be documents larger than 
this limit).

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-solr mailing list