Forum OpenACS Development: Re: String matching
2: Re: String matching (response to 1)
Posted by Patrick Giagnocavo on 08/11/19 04:18 AM
Do you need to match only part of the words, or the whole word? There is full-text searching available in Postgres and it works very well...
3: Re: String matching (response to 2)
Posted by Iuri Sampaio on 08/11/19 04:27 AM
It can be partial or full. The best would be to return by accuracy. For example, returns all item_ids, which are 80% similar to the keyword.
I know full-text searching works well with tsearch2 (oacs pkg). I'll need to build the integration though. https://openacs.org/doc/tsearch2-driver/
Is that path you were trying to go?