Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

expansion_limit search option #1442

Closed
sanikolaev opened this issue Sep 15, 2023 · 2 comments
Closed

expansion_limit search option #1442

sanikolaev opened this issue Sep 15, 2023 · 2 comments
Assignees
Labels
est::size_S rel::6.3.0 Released in 6.3.0

Comments

@sanikolaev
Copy link
Collaborator

The task is to expose expansion_limit as a search option, so it's available in SELECT ... OPTION= and as a search option in the /search endpoint in the JSON API.

@tomatolog
Copy link
Contributor

the feature should be added at 1a594c3

and now SphinxQL query supports SELECT ... OPTION expansion_limit=X and HTTP /search request supports

{ 
  "index": "test", 
  "query": { 
    "query_string": "*fu*" 
    } 
    , 
  "options": { 
    "expansion_limit": 5
  }
}

this overrides searchd.expansion_limit option

@tomatolog
Copy link
Contributor

documented option at 8c466c5

@sanikolaev sanikolaev added rel::6.3.0 Released in 6.3.0 and removed rel::upcoming Upcoming release labels May 23, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
est::size_S rel::6.3.0 Released in 6.3.0
Projects
None yet
Development

No branches or pull requests

2 participants