Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOException: Changed index specification

I am developing a GWT 2.5.1 and GAE/J 1.7.6 web app using Eclipse Juno/Google Plugin for Eclipse, and I am experimenting with the Search API. After an upgrade to the 1.7.6 GAE SDK the following started happening:

  1. When the app is running in GAE Dev Mode and my index is populated, it's subsequently programmatically accessible.
  2. If the Dev Mode is terminated and started again, programmatic access attempts fail (no results returned) as follows:

    SEVERE: Failed to access index
    java.io.IOException: Changed index specification for description_index
    at com.google.appengine.api.search.dev.LuceneDirectoryMap.getDirectory(LuceneDirectoryMap.java:198)
    at com.google.appengine.api.search.dev.LuceneDirectoryMap$FileBased.getDirectory(LuceneDirectoryMap.java:64)
    at com.google.appengine.api.search.dev.LocalSearchService.search(LocalSearchService.java:438)
    

Since the Search API is in development I would much rather use the SDK with the latest bugfixes and improvements. Does anyone have any suggestions regarding the cause of the exception?

Update

Fixed in App Engine SDK for Java release 1.7.7.1, available from the App Engine Downloads page.

like image 395
Boris Brudnoy Avatar asked Feb 28 '26 00:02

Boris Brudnoy


1 Answers

Fix released in 1.7.7.1 SDK for Java. See here

like image 119
JR Galia Avatar answered Mar 01 '26 23:03

JR Galia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!