[ https://issues.apache.org/jira/browse/LUCENE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688449#action_12688449 ]
Mike Klaas commented on LUCENE-1561: ------------------------------------ I agree that it is going to be almost impossible to convey that phrase queries don't work by renaming the flag. I agree with Eks Dev that a positive formulation is the only chance, although this deviates from the current omit* flags. termPresenceOnly() trackTermPresenceOnly() onlyTermPresence() omitEverythingButTermPresence() // just kidding > Maybe rename Field.omitTf, and strengthen the javadocs > ------------------------------------------------------ > > Key: LUCENE-1561 > URL: https://issues.apache.org/jira/browse/LUCENE-1561 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 2.4.1 > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 2.9 > > Attachments: LUCENE-1561.patch > > > Spinoff from here: > > http://www.nabble.com/search-problem-when-indexed-using-Field.setOmitTf()-td22456141.html > Maybe rename omitTf to something like omitTermPositions, and make it clear > what queries will silently fail to work as a result. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org