innocent
innocent

Reputation: 283

where solr store search index, in database or in file?

I am new to Solr. can anybody tell where it stores index.

  1. in existing site database
  2. create new database
  3. into xml files.

Thanks in advance

EDIT: i am asking this because i need a list of files to copy over to production. Suppose, if i index a site on development environment, which files i need to copy over to production environment. we dont want to re-index whole site again when its live.

EDIT-2 where i can find index directory, which stores data folder?

Upvotes: 22

Views: 20687

Answers (1)

Jayendra
Jayendra

Reputation: 52779

Solr (and underlying Lucene) index is a specially designed data structure, stored on the file system as a set of index files.

The index is designed with efficient data structures to maximize performance and minimize resource usage.

you can check the lucene index usually residing in the data/index folder

Detailed info @ http://lucene.apache.org/java/3_0_0/fileformats.html

Upvotes: 21

Related Questions