papers.search_indexes module

class papers.search_indexes.PaperIndex[source]

Bases: haystack.indexes.SearchIndex, haystack.constants.Indexable

authors_full = <haystack.fields.MultiValueField object>

Names of the authors

authors_last = <haystack.fields.MultiValueField object>
availability = <haystack.fields.CharField object>
combined_status = <haystack.fields.CharField object>
doctype = <haystack.fields.CharField object>
fields = {'combined_status': <haystack.fields.CharField object>, u'doctype_exact': <haystack.fields.FacetCharField object>, 'pubdate': <haystack.fields.DateField object>, 'oa_status': <haystack.fields.CharField object>, 'text': <haystack.fields.CharField object>, 'journal': <haystack.fields.IntegerField object>, 'visible': <haystack.fields.BooleanField object>, 'availability': <haystack.fields.CharField object>, 'publisher': <haystack.fields.IntegerField object>, 'authors_last': <haystack.fields.MultiValueField object>, 'doctype': <haystack.fields.CharField object>, 'authors_full': <haystack.fields.MultiValueField object>, u'oa_status_exact': <haystack.fields.FacetCharField object>, 'institutions': <haystack.fields.MultiValueField object>, 'researchers': <haystack.fields.MultiValueField object>, u'combined_status_exact': <haystack.fields.FacetCharField object>}
full_prepare(obj)[source]
get_model()[source]
get_updated_field()[source]
institutions = <haystack.fields.MultiValueField object>

IDs of institutions of researchers

journal = <haystack.fields.IntegerField object>

ID of journal

oa_status = <haystack.fields.CharField object>
objects = <haystack.manager.SearchIndexManager object>
prepare_authors_full(obj)[source]
prepare_authors_last(obj)[source]
prepare_availability(obj)[source]
prepare_institutions(obj)[source]
prepare_journal(obj)[source]
prepare_publisher(obj)[source]
prepare_researchers(obj)[source]
prepare_text(obj)[source]
pubdate = <haystack.fields.DateField object>
publisher = <haystack.fields.IntegerField object>

ID of publisher

researchers = <haystack.fields.MultiValueField object>

IDs of researchers

text = <haystack.fields.CharField object>
visible = <haystack.fields.BooleanField object>