Skip to content

Indexing assets

angelxuanchang edited this page Jan 13, 2018 · 1 revision

See Assets for more information about how assets are handled in the Scene Toolkit.

Indexing into csv

The simplest way to tell the SceneToolkit about your assets is to prepare a csv with the ids of your assets and a metadata json file. The csv can have any columns it wants. It must also have the following field: id. Both files are loaded by the client and used to query and display the assets. This is reasonable if you have up to ~50,000 assets. If you have a lot of asset or if you have a lot of fields per asset, you will want to index your assets using a database or Solr.

Indexing into Solr

The easiest way to index your asset into Solr is to first prepare a csv and then import it.

Schema-based indices

The SceneToolkit has predefined schemas for managing models, scenes, and textures.

Schema-free indices

TODO: Add some details here

Other

You can also index into a SQL database or a NoSQL database like MongoDB. Currently, our client-side querying does not yet support those, so you will need to write some code for that.

Clone this wiki locally