[ 
https://issues.apache.org/jira/browse/LUCENE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ning Li updated LUCENE-1007:
----------------------------

    Attachment: LUCENE-1007.patch

Just got around to do the patch:
  - The patch includes changes to IndexWriter and DocumentsWriter to provide 
the flexibility to turn on/off any flush triggers.
  - Necessary changes to a couple of unit tests.
  - Also remove some unused imports.
  - All unit tests pass.

One question: Should we count buffered delete terms towards ram buffer used? 
Feel like we should. On the other hand, numBytesUsed only counts ram space 
which can be recycled.

> Flexibility to turn on/off any flush triggers
> ---------------------------------------------
>
>                 Key: LUCENE-1007
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1007
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Ning Li
>            Priority: Minor
>         Attachments: LUCENE-1007.patch
>
>
> See discussion at http://www.gossamer-threads.com/lists/lucene/java-dev/53186
> Provide the flexibility to turn on/off any flush triggers - ramBufferSize, 
> maxBufferedDocs and maxBufferedDeleteTerms. One of ramBufferSize and 
> maxBufferedDocs must be enabled.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to