I need to create an application that has two user groups A and B.
Group "A" of users, can create multilingual posts, where "p" collection includes uuid key and metadata and "t" Collection stores content in different languages and has a fulltext index.
- Is this the correct way to store multilingual content in arangodb?
Group "B" of users, can create multiple collections, where "l" collection has a geo index on the lat and lon values, plus other meta data.
As you can see in the attached picture, the two user groups have one common connection, this can be a collection "v" or edges with additional meta data?
My application needs to find the nearest location "l+B", and localized content (language code + keywords) "p+t+A" and together with the "v" metadata return as JSON data.
Can anyone give me an example of how it will look AQL queries?
Last question, how to use FOXX with existing collections?
Thanks.
As above, you may choose in the RETURN statement whether only sub-parts of the documents are returned.