Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
String is too long for tsvector (DataStore) #2837
Trying to add resource to DataStore but get an error:
Is there way to exclude some fields from tsvector column for preventing such error?
it looks like the decision about which fields are indexed is based only on the column type. You might need to change this part of the datastore code: https://github.com/ckan/ckan/blob/master/ckanext/datastore/db.py#L482
making the full-text indexing configurable would be great. Maybe something as simple as a configuration option with blacklisted column names (like "GEOM" in your case)