__Affected feature__:
Fulltext index (documentation)
__Problem__:
The 'documentation' is inconsistent on whether a fulltext index can be created one or multiple attributes. By documentation I mean it in the broadest sense. The official docs and any place where information is provided about the fulltext index.
Below I've provided the three places where I noticed inconsistancies.
__Expected result__:
KISS: A consistent and factual description of the current state: 'what is'. Not 'what should be', 'what it will be' or 'what we want it to be'.
1) Create or go to a collection
2) Create a new fulltext index
__Problem__:

The WebUI fulltext label is 'Fields' (the help info is correct, but that is, ofcourse, hidden and requires an additional step before the information is available)
__Expected result__:
The label should just say 'Field' which makes it immediately obvious what is expected.
1) open collectionHandler.php
2) Go to createFulltextIndex()
__Problem__:

'...
* @param array $fields - an array of fields
...
public function createFulltextIndex($collectionId, array $fields, $minLength = null)
...etc...'
__Expected result__:
The second parameter should be 'string $field' etc
1) Go here: https://docs.arangodb.com/3.3/HTTP/Indexes/Fulltext.html
__Problem__:

'...
fields (string): an array of attribute names. Currently, the array is limited to exactly one attribute
....'
__Expected result__:
'...
field (string): the attribute name.
...'
the attribute named fields is the standard for all index types in arangodb, we are very unlikely to change that (sorry).
Perhaps you could submit a PR for the PHP driver documentation, if it bothers you ?
The properties you can set on index creation in general are:
Additional properties specific to one index type:
The information might be a bit scattered, but it is documented that some of the properties have no meaning for certain index types and what values you should provide.
[lat,lng] _(geoJson: false)_ or [lng,lat] _(geoJson: true)_ or as separate attributes lat and lng.A fulltext index can be defined on one attribute only, [...]
As @graetzer wrote, all indexes have a fields property and an array of strings is expected. Even if you want to index a single field only, it still has to be a string in an array. In case of fulltext indexes, there is a hard limit of one field. If you try to pass more than a single attribute path, an exception is raised:
ArangoError 10: bad parameter
The geo1 index expects one, geo2 two attribute paths. Otherwise they raise the same exception.
A general overhaul of the indexing chapter is on the to-do list, but not for this year.
Thanks for the replies. And no it wasn't a bother, just an inconsistancy I noticed and thought to let you know.
Most helpful comment
Thanks for the replies. And no it wasn't a bother, just an inconsistancy I noticed and thought to let you know.