lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4068) Improve IW#addDocuments(...) javadoc
Date Fri, 18 May 2012 16:17:06 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278913#comment-13278913
] 

Yonik Seeley commented on LUCENE-4068:
--------------------------------------

bq. you cannot delete the parent w/o deleting all of its children

Atomic update seems a bit tricky...
Perhaps this
{code}
  public void updateDocuments(Term delTerm, Iterable<? extends Iterable<? extends IndexableField>>
docs, Analyzer analyzer) throws CorruptIndexException, IOException {
{code}
should be something like
{code}
  public void updateDocuments(Iterable<Term>, Iterable<? extends Iterable<? extends
IndexableField>> docs, Analyzer analyzer) throws CorruptIndexException, IOException
{
{code}
or perhaps even more generic:
{code}
  public void updateDocuments(Query delQuery, Iterable<? extends Iterable<? extends
IndexableField>> docs, Analyzer analyzer) throws CorruptIndexException, IOException
{
{code}
                
> Improve IW#addDocuments(...) javadoc
> ------------------------------------
>
>                 Key: LUCENE-4068
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4068
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 3.2, 3.3, 3.4, 3.5, 3.6, 4.0
>            Reporter: Martijn van Groningen
>            Priority: Minor
>             Fix For: 4.0, 3.6.1
>
>         Attachments: LUCENE-4068.patch, LUCENE-4068.patch
>
>
> Improve IW#addDocuments(...) javadoc. 
> Describer how blocks can be used regarding to index updates.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message