ISA-tools / BioInvIndex

The web application, model, database persistence, services package and web services for the BII. Led by Eamonn Maguire (Uni. of Oxford) & Philippe Rocca-Serra (Uni. of Oxford).
http://www.isa-tools.org
16 stars 13 forks source link

Add more field to the index #36

Closed pconesa closed 13 years ago

pconesa commented 13 years ago

Hi! (feature request)

In order to be able to populate a basic study page using exclusively lucene index, we would like to find some extra fields inside it:

Publication info (title | PMID | DOI ) Contact info (firstName | lastName) Release Date Submission Date

Factors are now perfect, as well as characteristics.

Many thanks!

eamonnmag commented 13 years ago

The changes can be seen in the commit message.

Separator is the pipe character '|'

e.g. Contact format = firstname:eamonn|lastname:maguire|affiliation:oxford|email:eamonnmag@gmail.com Publication format = title:a nice publication|authors:some people|pubmed:19159446|doi:10.1186/1471-2164-10-36

The protocols are also now available in a similar format, so you can display them in the interface if you like.

Submission and release dates are available in a format taken from the db, but it's relatively easy to parse out the information. e.g.

2009031000000000 = 03/10/2009 (Where 03 is the day and 10 is the month)

I hope this is good for you! :)

Thanks,

Eamonn