mirror of https://github.com/apache/lucene.git
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:
parent
80743b6e78
commit
b3a77738fa
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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<String, Integer>.
|
||||
</body>
|
||||
</html>
|
|
@ -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>
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in New Issue