HazyResearch / mindbender

Tools for iterative knowledge base development with DeepDive
116 stars 32 forks source link

Support @searchable for text[]? #46

Closed senwu closed 9 years ago

senwu commented 9 years ago

I try @searchable for a column with text type and it works fine. But when I try to @searchable for a column with text[] type, it doesn't work and displays some other information, e.g., NER, POS, LEMMA...etc... Do we support @searchable for text[]?

netj commented 9 years ago

Everything in the relation becomes searchable regardless of its type. @searchable annotation just determines whether the string values should be tokenized or treated as a whole. If you meant rendering the result, you should use the mindbender/search-template/*.html stuff. There are some in the spouse_example.