inveniosoftware / invenio

Invenio digital library framework
https://invenio.readthedocs.io
MIT License
625 stars 292 forks source link

bibdocfile : function extract_text not defined referenced in get_text #3690

Open chokribr opened 8 years ago

chokribr commented 8 years ago

By looking to get_text in bidocfile code I think that we need to add extract_text def https://github.com/inveniosoftware/invenio/blob/maint-1.2/modules/bibdocfile/lib/bibdocfile.py#L1562

kaplun commented 8 years ago

@chokribr it's already defined in https://github.com/inveniosoftware/invenio/blob/maint-1.2/modules/bibdocfile/lib/bom_textdoc.py#L74 where BibTextDoc class inherits from BibDoc and is instantiated automatically in https://github.com/inveniosoftware/invenio/blob/maint-1.2/modules/bibdocfile/lib/bibdocfile.py#L1786 depending if the specific BibDoc can be transformed to text.

chokribr commented 8 years ago

@kaplun thank you Sam , what's wrong with fulltext indexing then?