public LuceneIndex(Directory directory,Analyzer analyzer) throws IOException {
  this.directory=directory;
  this.analyzer=analyzer;
  this.geoStrategyMapper=createSpatialStrategyMapper(Collections.<String,String>emptyMap());
  postInit();
}

public LuceneIndex ( Directory directory , Analyzer analyzer ) throws IOException { this . directory = directory ; this . analyzer = analyzer ; this . geoStrategyMapper = createSpatialStrategyMapper ( Collections . < String , String > emptyMap ( ) ) ; postInit ( ) ; }
creates a new luceneindex .
