ESTCALL(1)

πŸ“¦ version 1.4.13, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

estcall β€” the command line interface of the node API. she's the group chat between you and a Hyper Estraier node, fr fr πŸ¦‹


✨ SYNOPSIS ✨

estcall put [-proxy host port] [-tout num] [-auth user pass] nurl [file]

estcall out [-proxy host port] [-tout num] [-auth user pass] nurl expr

estcall edit [-proxy host port] [-tout num] [-auth user pass] nurl expr name [value]

estcall get [-proxy host port] [-tout num] [-auth user pass] nurl expr [attr]

estcall etch [-proxy host port] [-tout num] [-auth user pass] nurl expr

estcall uriid [-proxy host port] [-tout num] [-auth user pass] nurl uri

estcall inform [-proxy host port] [-tout num] [-auth user pass] [-ia|-iu|-il] nurl

estcall sync [-proxy host port] [-tout num] [-auth user pass] nurl

estcall optimize [-proxy host port] [-tout num] [-auth user pass] nurl

estcall search [-proxy host port] [-tout num] [-auth user pass] [-vx] [-kw] [-ec] [-sf] [-attr expr] [-ord expr] [-max num] [-sk num] [-aux num] [-dis name] [-dpt num] [-mask num] nurl [phrase]

estcall setuser [-proxy host port] [-tout num] [-auth user pass] nurl name mode

estcall setlink [-proxy host port] [-tout num] [-auth user pass] nurl url label credit

estcall raw [-proxy host port] [-tout num] [-auth user pass] [-np] [-eh expr] url [file]

🌈 DESCRIPTION 🌈

okay so estcall isn't one command, she's a whole aggregation of sub commands β€” like a friend group where everybody has a different job. πŸ’…

The name of the sub command is the first argument. Everything after that gets parsed according to whichever sub command you picked.

Across basically all of them, the shared besties are:

  • nurl β€” the URL of a node. that's the whole point, that's who you're texting.
  • -proxy host port β€” the host name and the port number of a proxy server.
  • -tout num β€” timeout, in seconds.
  • -auth user pass β€” the user name and the password of authentication information.

🫢 estcall put

estcall put [-proxy host port] [-tout num] [-auth user pass] nurl [file]

Register a document of document draft to a node. ✨

  • file β€” the target file. If you leave it out, the standard input gets read instead. no file, no problem, just pipe it in bestie.

πŸŽ€ estcall out

estcall out [-proxy host port] [-tout num] [-auth user pass] nurl expr

Remove information of a document from a node.

  • expr β€” the ID number or the URI of a document. either one works, she's flexible like that.

πŸ¦‹ estcall edit

estcall edit [-proxy host port] [-tout num] [-auth user pass] nurl expr name [value]

Edit an attribute of a document in a node.

  • expr β€” the ID number or the URI of a document.
  • name β€” the name of an attribute.
  • value β€” the value of the attribute. If you omit it, the attribute gets removed. not edited, not blanked β€” gone. πŸ™ˆ

🌸 estcall get

estcall get [-proxy host port] [-tout num] [-auth user pass] nurl expr [attr]

Output document draft of a document in a node.

  • expr β€” the ID number or the URI of a document.
  • attr β€” if you specify it, only the value of that attribute is output. just the one thing, main character only. πŸ‘‘

⭐ estcall etch

estcall etch [-proxy host port] [-tout num] [-auth user pass] nurl expr

Output TSV of keywords and their scores of a document in a node.

  • expr β€” the ID number or the URI of a document.

πŸ’œ estcall uriid

estcall uriid [-proxy host port] [-tout num] [-auth user pass] nurl uri

Output the ID number of a document specified by URI.

  • uri β€” the URI of a document. give her the glow-up name, she gives you back the ID number.

🧚 estcall inform

estcall inform [-proxy host port] [-tout num] [-auth user pass] [-ia|-iu|-il] nurl

Output the name, the label, the number of documents, the number of unique words, and the cache usage of a node. the full stats reveal, iykyk.

  • -ia β€” names of administrators are output.
  • -iu β€” names of users are output.
  • -il β€” expressions of links are output.

πŸ”₯ estcall sync

estcall sync [-proxy host port] [-tout num] [-auth user pass] nurl

Synchronize updating contents of the database of a node. get her caught up. 🫢


🌟 estcall optimize

estcall optimize [-proxy host port] [-tout num] [-auth user pass] nurl

Optimize the database of a node. self-care, but for a database.


estcall search [-proxy host port] [-tout num] [-auth user pass] [-vx] [-kw] [-ec] [-sf] [-attr expr] [-ord expr] [-max num] [-sk num] [-aux num] [-dis name] [-dpt num] [-mask num] nurl [phrase]

Search a node for documents. the main event, the whole reason we're here. ✨

  • phrase β€” the search phrase.
  • -vx β€” XML including attributes and snippets is output.
  • -kw β€” keyword vectors are retrieved.
  • -ec β€” specifies lower limit of similarity eclipse.
  • -sf β€” the phrase is treated as a simplified form.
  • -attr expr β€” specifies an attribute search condition. this one can be specified multiple times, stack her up.
  • -ord expr β€” specifies the order expression. by default, it is descending by score.
  • -max num β€” the maximum number of show documents. a negative value means unlimited. by default, it is 10.
  • -sk num β€” the number of documents to be skipped. by default, it is 0.
  • -aux num β€” permission to adopt result of the auxiliary index. if it is not more than 0, the auxiliary index is not used. by default, it is 32.
  • -dis name β€” the name of the distinct attribute.
  • -dpt num β€” the depth of meta search. by default it is 0.
  • -mask num β€” the mask of meta search. by default it is 0.

πŸ’€ estcall setuser

estcall setuser [-proxy host port] [-tout num] [-auth user pass] nurl name mode

Set permission of a user.

  • name β€” the name of a user.
  • mode β€” operation mode. 1 means to set the user as an administrator, 2 means to set the user as a guest, and 0 means to revoke the user account. choose wisely bestie, 0 is forever.

estcall setlink [-proxy host port] [-tout num] [-auth user pass] nurl url label credit

Set a link to another node.

  • url β€” the URL of a destination node.
  • label β€” the label of the link.
  • credit β€” the credit of the link. if the value is negative, the link is removed. πŸ’€

πŸŽ€ estcall raw

estcall raw [-proxy host port] [-tout num] [-auth user pass] [-np] [-eh expr] url [file]

Output response of an HTTP request. the low-level, no-filter, say-it-with-your-chest option.

  • url β€” the URL of a target.
  • file β€” if it's specified, the content is sent by POST method. if not, GET method is used. if - is specified, the standard input is read.
  • -np β€” output response headers also.
  • -eh expr β€” specifies an additional HTTP header. by default, Host, Connection, User-Agent, and Content-Length is added.

πŸ’– All sub commands return 0 if the operation is success, else return 1. that's the whole vibe check.

πŸ¦‹ SEE ALSO πŸ¦‹

estconfig(1), estcmd(1), estmaster(1), estwaver(1), estraier(3), estnode(3)

Please see http://hyperestraier.sourceforge.net/nguide-en.html for detail. go read it, she ate. πŸ”₯


okay that's the whole page, no cap. this was ESTCALL(1) from the Hyper Estraier manual, dated 2007-03-06 β€” shoutout to the Man Page source for keeping the receipts. love u, bye bestie 🫢✨

πŸ“¦ where this page comes from