Page MenuHomePhabricator

In "Query string search", is Query a noun or a verb?
Closed, ResolvedPublic

Description

"Query string search" is probably "Query string search".

It is however not clear if "Query" is an action verb. Given the context that this is the label of a form input field, I suppose this is a noun.

As the Form contains several other fields and the form is to complete the parameters needed to perform a query (there's a separate "Submit"/"Search" button for the verb). I supopose that the term "Query" at start is a noun.

But then "string search" is clearly inverted and should be "Search string" (and the "/qqq" doc page should explain better that in that case "Search" is also a noun) or "String to search"

Am I right to think that this field really means "Search string for the query" ? In fact may be you should even remove the word "Query", which is implied by the other form fields (the whole form is to perform a query.

So may be it should just be "Search string".


URL: https://translatewiki.net/wiki/Wikimedia:Toolhub-d23b80-Query string search/fr

Event Timeline

Aklapper renamed this task from [[Wikimedia:Toolhub-d23b80-Query string search/fr]] translation issue to In "Query string search", is Query a noun or a verb?.Mar 22 2021, 7:38 PM

"Query string" in this message is https://en.wikipedia.org/wiki/Query_string. The suggestion of "Search string" is a good one. I think I was spending too much time staring at Elasticsearch and library documentation when I made up that label for the q parameter to /api/search/tools/.

The underlying class from an upstream library that this invokes is named SimpleQueryStringQueryBackend which vaguely makes sense once you learn all the jargon words for Elasticsearch and the libraries that folks have made to wrap it. It makes a "simple query string" query type to the search index.

Change 674159 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[wikimedia/toolhub@main] i18n: improve description of q search parameter

https://gerrit.wikimedia.org/r/674159

Change 674159 merged by jenkins-bot:
[wikimedia/toolhub@main] i18n: improve description of q search parameter

https://gerrit.wikimedia.org/r/674159