[ https://issues.apache.org/jira/browse/SOLR-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502818#comment-13502818 ]
Yonik Seeley commented on SOLR-4101: ------------------------------------ +1 bq. storeOffsetsWithPositions' is a bit of a mouthful Yeah, but it's pretty descriptive of what it does (i.e. I won't need to go look up if it's referring to term vector offsets or not). bq. options = IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS; Now *that* is a mouthful ;-) micro-optimization: we should be able to throw an "else" before your "if", right? > Provide a flag to store positions and offsets on fields defined in the schema > ----------------------------------------------------------------------------- > > Key: SOLR-4101 > URL: https://issues.apache.org/jira/browse/SOLR-4101 > Project: Solr > Issue Type: Improvement > Reporter: Alan Woodward > Assignee: Alan Woodward > Priority: Minor > Fix For: 4.1, 5.0 > > Attachments: SOLR-4101.patch > > > This will be useful for highlighters (particularly ones based on interval > iterators, see LUCENE-2878) -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org