-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings in HFJ_SPIDX_STRING have a maximum length of 200 #5912
Comments
That's a very long string in the source resource. My suspicion (untested) is that the brackets are a red herring, and this string is just hitting the current 200 character limit for indexing strings. This limit is arbitrary and could be made configurable, although different RDBMSs will have different behaviours when you try to index a really long string column. |
Thanks for your reply @jamesagnew |
I modified the issue title. I have a use case where we are storing and searching ResearchStudy titles, these are often times longer then 200 chars. I'd like to increase the max size of the column(s), but this has to be static a compile time. |
I don't know that I'd want to drop the length attribute - That means we'd just use the default, which I believe is 255 chars, but with unexpected changes possible if that default ever changed. And making it longer by default could cause issue in some places, not all databases like indexing long strings. Adding a configurable max length would be fine though - You'd have to manually change the maximum length of the column in the DB, but we could add a setting to tell HAPI that this had been done. |
Describe the bug
When searching for a string with the :contains modifier or using _filter with the
co
modifier results are not found if the target string contains bracketsTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Both searches should return 2 results, brackets shouldn't impact the contains search.
Environment (please complete the following information):
Additional context
Backup of target resources:
https://gist.github.com/patrick-werner/f341a699e5df56e0365f4716f897a368
The text was updated successfully, but these errors were encountered: