Skip to content
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

Autocomplete does not work #953

Closed
AprilNEA opened this issue Mar 6, 2024 · 1 comment
Closed

Autocomplete does not work #953

AprilNEA opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working pg_search Issue related to `pg_search/` priority-2-medium Medium priority issue user-request This issue was directly requested by a user

Comments

@AprilNEA
Copy link
Contributor

AprilNEA commented Mar 6, 2024

Bug Description

Here is my psql console log:

postgres=# SELECT content
        FROM search_idx.search('content:title') LIMIT 1;
      content      
-------------------
 about media title... 
(1 row)
 
postgres=# SELECT *
        FROM search_idx.search('title', regex_fields=> 'content') LIMIT 1;
ERROR:  function search_idx.search(unknown, regex_fields => unknown) does not exist
LINE 2:         FROM search_idx.search('title', regex_fields=> 'cont...
                     ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

I can not use Autocomplete feature according to the document

How To Reproduce
Use autocomplete as documented

Proposed Fix
I don't have a clue at the moment, so I'm hoping someone will chime in with relevant advice. Thanks.

@philippemnoel philippemnoel added bug Something isn't working priority-2-medium Medium priority issue pg_search Issue related to `pg_search/` user-request This issue was directly requested by a user labels Mar 6, 2024
@neilyio
Copy link
Contributor

neilyio commented Mar 6, 2024

Hello, sorry, we needed to remove the Autocomplete page from the documentation.

Last week we implemented an advanced query interface that moves all of the most powerful search features into separate functions:
https://docs.paradedb.com/search/full-text/complex#regex

Please make sure you're on the latest release, and give that a try!

@neilyio neilyio closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pg_search Issue related to `pg_search/` priority-2-medium Medium priority issue user-request This issue was directly requested by a user
Projects
None yet
Development

No branches or pull requests

3 participants