[
https://issues.apache.org/jira/browse/SOLR-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565440#comment-13565440
]
Uwe Schindler commented on SOLR-4375:
-------------------------------------
I was reviewing the mailing list. Actually only *one* user complained, but you
did not ask him about backgrounds. Please note, he also complained about
searches without term vectors are slower, which makes no sense, unless you look
deeper into Solr and *how* he might use it:
- There may be a slowdown if you have *every* field in your schema stored in
Solr and you retrieve something like ten-thousands of results with all stored
fields.
- Term vectors and stord fields don't affect search times in Lucene, the
problem is only post-result collection document fetching (see above)
- If searches without term vectors are slower in Lucene that's easy to explain:
I assume he highlights, too and this is faster with term vectors. This
interesting detail about his index may also explain the stored fields slowdown:
If he hoighlight also the tenthousands of documents he fetches, the current
setup of Solr and the highlighter may cause stored fields to be read multiple
times (because stored fields cache is too small). If you only read one small
field for highlighting out hundreds of fields (all stored), the block-nature of
the stored fields format may have an block-decompressing overhead (which is not
related to the decompression, but more that blocks must be read).
As mentioned before, everybody is free to change the default codec, no need for
an extra setter.
-1 to change anything without more details (schema, query URL thats slower,...).
> Add config or schema option to turn off compressed stored fields in the
> Lucene 4.1 index format
> -----------------------------------------------------------------------------------------------
>
> Key: SOLR-4375
> URL: https://issues.apache.org/jira/browse/SOLR-4375
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 4.1
> Reporter: Shawn Heisey
> Fix For: 4.2, 5.0
>
>
> There have been performance complaints on the mailing list about the default
> compressed stored fields in the 4.1 index format. There should be an option
> to turn the compression off.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]