CodeLover
CodeLover

Reputation: 61

Query about DSE search

In order for my data to become searchable in solr which key space should I use for all of my Cassandra tables?

I have the following keyspaces after starting solr:

        system_traces
        solr_admin
        system
        dse_system

Upvotes: 0

Views: 121

Answers (1)

mikea
mikea

Reputation: 6667

You shouldn't use any of those keyspaces for creating your own tables. You need to create your own keyspace, then create your table in that keyspace and then create a solr core on the keyspace on the table.

How you do this will depend on the version of DataStax Enterprise you are running. On 4.8 you can to this through dsetool with the following command:

dsetool create_core keyspace.table generateResources=true reindex=true

You will then be able to perform search queries against that table.

Here is the current search documentation for Solr search on DataStax Enterprise.

Upvotes: 2

Related Questions