From: Henk H. <ha...@xs...> - 2004-12-15 10:25:46
|
Hi, I'm setting up the Lucene module (on a Windows system) and i am using MMBase 1.7.2 (clean install): <?xml version="1.0"?> <!DOCTYPE module PUBLIC "//MMBase - module//" "http://www.mmbase.org/dtd/module.dtd"> <module> <status>active</status> <classfile>net.sf.mmapps.modules.lucenesearch.LuceneModule</classfile> <properties> <property name="interval">1800</property> <property name="index">c:/data/test/lucene/ExampleIndex</property> <property name="configfile">luceneindexdefinition.xml</property> </properties> </module> The directory c:/data/test/lucene/ExampleIndex exists. The mmbase.log says: 2004-12-15 11:12:21,483 INFO org.mmbase.module.Module info.66 - Starting module lucenemodule 2004-12-15 11:12:21,843 INFO mmapps.modules.lucenesearch.SearchIndex addTable.83 - TABLE: news 2004-12-15 11:12:21,843 INFO mmapps.modules.lucenesearch.SearchConfig addIndex.75 - INDEX: ExampleIndex 2004-12-15 11:12:32,061 INFO mmapps.modules.lucenesearch.LuceneModule startIndexing.126 - LuceneModule start indexing 2004-12-15 11:12:32,952 INFO mmapps.modules.lucenesearch.SearchIndex collectAll.56 - 5 indexed documents in ExampleIndex So far, so good. However no segments file is created in c:/data/test/lucene/ExampleIndex. Of course searchresults.jsp?query=a complains like: C:\data\test\lucene\ExampleIndex\segments (The system cannot find the file specified) QUESTION: Where can I check what happens with the index and why it is not written to file? Kind regards, Henk. P.s. You can download the ROOT with MMBase 1.7.2 + Lucene from http://www.mmatch.nl/download/testLucene.zip T. +31-(0)6-29054903 E. ha...@xs... I. http://www.mmatch.nl |