LUCENE-5339: remove writercache sub-packages

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5339@1545808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-11-26 20:14:22 +00:00
parent 80743b6e78
commit b3a77738fa
16 changed files with 17 additions and 69 deletions

View File

@ -26,8 +26,8 @@ import org.apache.lucene.facet.taxonomy.FacetLabel;
import org.apache.lucene.facet.taxonomy.TaxonomyReader;
import org.apache.lucene.facet.taxonomy.TaxonomyWriter;
import org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache;
import org.apache.lucene.index.AtomicReader;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.CorruptIndexException; // javadocs

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import org.apache.lucene.facet.taxonomy.FacetLabel;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import java.io.IOException;
import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import java.util.Iterator;
import java.util.NoSuchElementException;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import org.apache.lucene.facet.taxonomy.FacetLabel;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.lru;
package org.apache.lucene.facet.taxonomy.writercache;
import org.apache.lucene.facet.taxonomy.FacetLabel;
import org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.lru;
package org.apache.lucene.facet.taxonomy.writercache;
import org.apache.lucene.facet.taxonomy.FacetLabel;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.lru;
package org.apache.lucene.facet.taxonomy.writercache;
import java.util.HashMap;
import java.util.Iterator;

View File

@ -1,27 +0,0 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Category->Ordinal caching implementation using an optimized data-structures</title>
</head>
<body>
<h1>Category->Ordinal caching implementation using an optimized data-structures</h1>
The internal map data structure consumes less memory (~30%) and is faster (~50%) compared to a
Java HashMap&lt;String, Integer&gt;.
</body>
</html>

View File

@ -1,25 +0,0 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>An LRU cache implementation for the CategoryPath to Ordinal map</title>
</head>
<body>
<h1>An LRU cache implementation for the CategoryPath to Ordinal map</h1>
</body>
</html>

View File

@ -13,8 +13,8 @@ import org.apache.lucene.facet.FacetTestCase;
import org.apache.lucene.facet.FacetsConfig;
import org.apache.lucene.facet.taxonomy.FacetLabel;
import org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig.OpenMode;
import org.apache.lucene.store.Directory;

View File

@ -18,8 +18,8 @@ import org.apache.lucene.facet.taxonomy.FacetLabel;
import org.apache.lucene.facet.taxonomy.TaxonomyReader;
import org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap;
import org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.Cl2oTaxonomyWriterCache;
import org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache;
import org.apache.lucene.index.DirectoryReader;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.IndexWriter;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;

View File

@ -1,4 +1,4 @@
package org.apache.lucene.facet.taxonomy.writercache.cl2o;
package org.apache.lucene.facet.taxonomy.writercache;
import java.io.File;
import java.nio.ByteBuffer;