Listing 2. Setting Up Two CLucene Indexes

$ mkdir -p ~/clucene-index
$ cd ~/clucene-index
$ fcreate `pwd` \
  --create-type=fulltextindexclucene
$ fcreate `pwd` \
    --create-type=eaindexclucene db-exists=1
$ feaindex-attach-fulltext-index \
 --ea-index-path `pwd` \
 --fulltext-index-path `pwd`

