-
Notifications
You must be signed in to change notification settings - Fork 218
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
--fts ignores --parameters, --field, --sort #593
Comments
OK, I figured it out and support seems to be missing, so I will rename the issue.
But...
I am using:
|
The confusion here is that The reasoning behind this is because the Advanced Search API is not designed for scraping/retrieving full result sets (it's capable of doing so, but it's not designed for it). The Scrape API is designed for dumping full result sets. I assume that most people want full result sets when using Then there's the FTS API. This is in beta, is not currently documented publicly, and is subject to change. The specific parameter you're after though is
Sorry for the confusion. We hope to consolidate these endpoints in the future! |
Thanks @jjjake very informative. I'll keep an eye on progress. It seems very wasteful to query the whole set when I only want the most X recent (for example any new items since the last time I did the query). But maybe I'm overthinking it!? I prefer to keep things lean and save time and electricity on this earth. |
The "beta FTS API" doesn't seem to point to the right endpoint. Is there any plan to switch to that endpoint? |
@chgans |
Hi,
I am doing
ia search --parameters="..."
...but I do not know what parameters it accepts.
Is there a list or documentation anywhere?
My goal is to return a small number of results sorted by most recently "added" first.
sort=-publicdate
sort createdate desc
sort_by=-addeddate
But those do not seem to work with
ia search
, or maybe I am doing it wrong?I have also tried
ia search --parameters="rows=10" --sort="addeddate desc" "hanafuda"
ia search --parameters="rows:10" --sort="created_on desc" "hanafuda"
Any help appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: