Yep, fair enough. I just added it to the LuceneIndexBatchInserter
interface.... so:

   BatchInserter inserter = new BatchInserter( ..... );
   LuceneIndexBatchInserter index = new LuceneIndexBatchInserterImpl(
inserter );
   index.getBatchInserter();

2010/7/8 Tim Jones <bogol...@ymail.com>

> Hi,
>
> Yes, it's to avoid having to pass around both the batch inserter and the
> index.
> A lot of other APIs provide access to underlying data structures.
>
> Thanks,
> Tim
>
>
>
> ----- Original Message ----
> From: Mattias Persson <matt...@neotechnology.com>
> To: Neo4j user discussions <user@lists.neo4j.org>
> Sent: Thu, July 8, 2010 2:09:26 PM
> Subject: Re: [Neo4j] API request
>
> Hi Logo,
>
> Is this to not having to pass both the BatchInserter and the batch inserter
> index around? Or is it because of some other issue?
>
> 2010/7/6 Logo Bogo <bogol...@ymail.com>
>
> > Hi,
> >
> > I'm working with a LuceneIndexBatchInserterImpl -- would it be possible
> to
> > add an accessor method to be able to retrieve the underlying inserter
> > associated with the LuceneIndexBatchInserterImpl please?
> >
> > Thanks,
> > Tim
> >
> >
> >
> >
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Mattias Persson, [matt...@neotechnology.com]
> Hacker, Neo Technology
> www.neotechnology.com
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
>
>
>
>
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to