processwire-recipes / Recipes

Recipe Markdown files
29 stars 18 forks source link

proper tagging #2

Open owzim opened 9 years ago

owzim commented 9 years ago

we should decide on a taggin guidline. The tags get cluttered if one uses fields and the other use field, or: template vs templates

it's either or! :)

marcus-herrmann commented 9 years ago

Good point. Let's start with: "Use singular", "Before you tag your recipe, have a look into the tag list and try to prevent close-to-identical doublets".

owzim commented 9 years ago

I'd choose plural, because it's better for searching (depending on the search implementation).

Plural

:+1: a search for either template or templates would spit out stuff tagged templates

Singular

:-1: only a search for template would spit out stuff tagged template

marcus-herrmann commented 9 years ago

Sounds logical. Plural it is.

owzim commented 7 years ago

We have many singulars already. Some are actually suited, some are not.

Is it possible to to search for plurals and singulars at the same time?

Just remove the trailing s from the search query, if it's there.

marcus-herrmann commented 7 years ago

So your proposal is: while processing the search query, check it against an API-list (users, templates, pages, fields) and remove the "s" in that case?

IMO the search is not the most important issue of PWR - the number of recipes are. As soon as there's enough to search in the first place, I would like to skip mysql search and would like to fiddle around with Algolia, Elastic, Solr, whatever. But the recipes pool has to reach a critical mass first.