invenio icon indicating copy to clipboard operation
invenio copied to clipboard

bibdocfile : function extract_text not defined referenced in get_text

Open chokribr opened this issue 9 years ago • 2 comments

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

chokribr avatar Sep 07 '16 15:09 chokribr

@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.

kaplun avatar Sep 08 '16 06:09 kaplun

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

chokribr avatar Sep 08 '16 08:09 chokribr