关于lucene运行demo的有关问题

关于lucene运行demo的问题
我配置好了lucene环境,运行http://localhost:8090/luceneweb/后怎么打关键字老是报错?
报的错是ERROR opening the Index - contact sysadmin!

Error message: no segments* file found in org.apache.lucene.store.FSDirectory@C:\opt\lucene\index: files:

Apache Lucene Template WebApp 1.0 
这是怎么回事啊?

------解决方案--------------------
索引没有建立