opensemanticsearch / open-semantic-search-apps

Python/Django based webapps and web user interfaces for search, structure (meta data management like thesaurus, ontologies, annotations and named entities) and data import (ETL like text extraction, OCR and crawling filesystems or websites)
https://opensemanticsearch.org/
GNU General Public License v3.0
95 stars 36 forks source link

Thesaurus/taxonomy #45

Open mlderebecki opened 5 years ago

mlderebecki commented 5 years ago

Could someone explain (or give example) to me how can I use taxonomy fields? I've created simple thesaurus that contains hierarchy (broader, narrower). Using the solr admin panel I can query documents that contain fields "tag_ss_taxonomy_X_ss" but how can I use those fields in search?

For example, I have 2 fields: "tag_ss_taxonomy_0_ss":["Human", "Human", "Human", "Human"] and "tag_ss_taxonomy_1_ss":["Human\tPerson", "Human\tPerson", "Human\tPerson", "Human\tPerson"] Thseaurus: human is broader than person; person is narrower than human. My document contains word "Person" but if I search for "Human" it will not find the document.

opensemanticsearch commented 5 years ago

Documentation will be extended next weeks after full implementation to search UI and import of taxonomies from external thesauri/ontologies in Ontologies Manager.

This kind of "Reasoning" (find by narrower concept) is yet not working for search yet out of the box/not copied to default search field, since it will become an option in search UI, so you can control / disable it for a search.