I have a roller 2.1 installation. Our search function used to work
appropriately, but is no longer returning any results for terms I know
exist. As far as I know, we haven't made any configuration or code
changes that would impact search functionality.
I took a look at our roller_data/search-index directory, and I only see
2 files: segments and .index-inconsistent. It looks like the actual
index is missing, as our development install with functioning search has
several files named like _a.cfs.
The logs indicate an error creating the writer to the index:
INFO 2007-01-19 11:32:29,824 WriteToIndexOperation:run - Starting
search index operation
ERROR 2007-01-19 11:32:29,830 IndexOperation:beginWriting - ERROR
creating writer
INFO 2007-01-19 11:32:29,831 WriteToIndexOperation:run - Search index
operation complete
I checked write permissions, and the search-index directory should be
writeable by the user running our roller web application.
I tried to trace the index operations back through the code, and I think
the error might is caused by these lines in IndexOperation.java:
try {
writer = new IndexWriter(manager.getIndexDirectory(),
IndexManagerImpl.getAnalyzer(), false);
} catch (IOException e) {
mLogger.error("ERROR creating writer");
}
But I'm just not familiar enough with the code to know what the problem
is. Any ideas?
Thanks.
-emily
--
Emily Lynema
Systems Librarian for Digital Projects
Information Technology, NCSU Libraries
919-513-8031
[EMAIL PROTECTED]