+1 for decoupling the indexes

The HoldingPen branch has done something along these lines, the
PinkTable adds the ability to process records one by one (the indexes
must be created before, but that could be API'ed as well) - the
interface is exposed via PinkElephant

pe = PinkElephant()
while x in range(100):
   pe.index(pe.get_record(x))
pe.commit()

https://github.com/romanchyla/invenio/blob/pink-elephant/modules/pinkelephant/lib/pink_elephant.py




On Mon, Mar 26, 2012 at 12:42 PM, Peter J. Halliday
<[email protected]> wrote:
> So, journal indexes look pretty coupled to Invenio.  What about decoupling
> them.  Instead of creating a need for additional indexes to be INVENIO CFG
> options.  What about allowing a potential arbitrary set of other indexing
> functions, and the ability to load the code elsewhere.
>
>
> ------------------------------------------
> Peter Halliday
> Cornell University Library IT
> Repositories Group
> [email protected]
> (Phone:) 607-255-1790
> (Cell:) 607-329-6905
>
>
>
>
>
>

Reply via email to