You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2009/06/23 00:19:02 UTC
svn commit: r787424 [2/11] - in /lucene/java/trunk: ./ contrib/
contrib/analyzers/ contrib/analyzers/src/java/org/apache/lucene/analysis/br/
contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/
contrib/analyzers/src/java/org/apache/lucene/analysi...
Modified: lucene/java/trunk/contrib/queries/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/pom.xml.template (original)
+++ lucene/java/trunk/contrib/queries/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,38 +1,38 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-queries</artifactId>
- <name>Lucene Queries</name>
- <version>@version@</version>
- <description>
- Queries - various query object exotica not in core
- </description>
- <packaging>jar</packaging>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-queries</artifactId>
+ <name>Lucene Queries</name>
+ <version>@version@</version>
+ <description>
+ Queries - various query object exotica not in core
+ </description>
+ <packaging>jar</packaging>
+</project>
Propchange: lucene/java/trunk/contrib/queries/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html (original)
+++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html Mon Jun 22 22:18:56 2009
@@ -1,5 +1,5 @@
-<html>
-<body>
-Document similarity query generators.
-</body>
+<html>
+<body>
+Document similarity query generators.
+</body>
</html>
\ No newline at end of file
Propchange: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/BoostingQueryTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/regex/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/regex/lib/regexp.LICENSE
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/regex/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/regex/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/regex/pom.xml.template (original)
+++ lucene/java/trunk/contrib/regex/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,43 +1,43 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-regex</artifactId>
- <name>Lucene Regex</name>
- <version>@version@</version>
- <description>Regular expression query</description>
- <packaging>jar</packaging>
- <dependencies>
- <dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- <version>${jakarta-regexp-version}</version>
- </dependency>
- </dependencies>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-regex</artifactId>
+ <name>Lucene Regex</name>
+ <version>@version@</version>
+ <description>Regular expression query</description>
+ <packaging>jar</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>jakarta-regexp</groupId>
+ <artifactId>jakarta-regexp</artifactId>
+ <version>${jakarta-regexp-version}</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: lucene/java/trunk/contrib/regex/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/remote/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/remote/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/remote/src/java/org/apache/lucene/search/RMIRemoteSearchable.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/remote/src/test/org/apache/lucene/search/TestRemoteSort.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/snowball/SNOWBALL-LICENSE.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/snowball/SNOWBALL-LICENSE.txt?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/snowball/SNOWBALL-LICENSE.txt (original)
+++ lucene/java/trunk/contrib/snowball/SNOWBALL-LICENSE.txt Mon Jun 22 22:18:56 2009
@@ -1,26 +1,26 @@
-Copyright (c) 2001, Dr Martin Porter
-Copyright (c) 2002, Richard Boulton
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the copyright holders nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c) 2001, Dr Martin Porter
+Copyright (c) 2002, Richard Boulton
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the copyright holders nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Propchange: lucene/java/trunk/contrib/snowball/SNOWBALL-LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/snowball/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/snowball/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/snowball/pom.xml.template (original)
+++ lucene/java/trunk/contrib/snowball/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,36 +1,36 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-snowball</artifactId>
- <name>Lucene Snowball</name>
- <version>@version@</version>
- <description>Snowball Analyzers</description>
- <packaging>jar</packaging>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-snowball</artifactId>
+ <name>Lucene Snowball</name>
+ <version>@version@</version>
+ <description>Snowball Analyzers</description>
+ <packaging>jar</packaging>
+</project>
Propchange: lucene/java/trunk/contrib/snowball/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/spatial/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spatial/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spatial/pom.xml.template (original)
+++ lucene/java/trunk/contrib/spatial/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,50 +1,50 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-spatial</artifactId>
- <name>Lucene Spatial</name>
- <version>@version@</version>
- <description>Spatial search package.</description>
- <packaging>jar</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-spatial</artifactId>
+ <name>Lucene Spatial</name>
+ <version>@version@</version>
+ <description>Spatial search package.</description>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Propchange: lucene/java/trunk/contrib/spatial/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/ISerialChainFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/NumberUtils.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/SerialChainFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/SerialChainFilter.java?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/SerialChainFilter.java (original)
+++ lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/SerialChainFilter.java Mon Jun 22 22:18:56 2009
@@ -1,214 +1,214 @@
-/**
- * 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.
- */
-
-package org.apache.lucene.spatial;
-
-import java.io.IOException;
-import java.util.BitSet;
-
-import org.apache.lucene.index.CorruptIndexException;
-import org.apache.lucene.index.IndexReader;
-import org.apache.lucene.search.DocIdSet;
-import org.apache.lucene.search.Filter;
-import org.apache.lucene.util.DocIdBitSet;
-
-/**
- *
- * Provide a serial chain filter, passing the bitset in with the
- * index reader to each of the filters in an ordered fashion.
- *
- * Based off chain filter, but with some improvements to allow a narrowed down
- * filtering. Traditional filter required iteration through an IndexReader.
- *
- * By implementing the ISerialChainFilter class, you can create a bits(IndexReader reader, BitSet bits)
- * @see org.apache.lucene.search.ISerialChainFilter
- *
- */
-public class SerialChainFilter extends Filter {
-
- /**
- * $Id: SerialChainFilter.java 136 2008-12-17 16:16:38Z ryantxu $
- */
- private static final long serialVersionUID = 1L;
- private Filter chain[];
- public static final int SERIALAND = 1;
- public static final int SERIALOR = 2;
- public static final int AND = 3; // regular filters may be used first
- public static final int OR = 4; // regular filters may be used first
- public static final int DEFAULT = SERIALOR;
-
- private int actionType[];
-
- public SerialChainFilter(Filter chain[]){
- this.chain = chain;
- this.actionType = new int[] {DEFAULT};
- }
-
- public SerialChainFilter(Filter chain[], int actionType[]){
- this.chain= chain;
- this.actionType = actionType;
- }
-
- /* (non-Javadoc)
- * @see org.apache.lucene.search.Filter#bits(org.apache.lucene.index.IndexReader)
- */
- @Override
- public BitSet bits(IndexReader reader) throws IOException {
- return ((DocIdBitSet)getDocIdSet(reader)).getBitSet();
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.lucene.search.Filter#getDocIdSet(org.apache.lucene.index.IndexReader)
- */
- @Override
- public DocIdSet getDocIdSet(IndexReader reader) throws CorruptIndexException, IOException {
-
- BitSet bits = new BitSet(reader.maxDoc());
- int chainSize = chain.length;
- int actionSize = actionType.length;
- int i = 0;
-
- /**
- * taken from ChainedFilter, first and on an empty bitset results in 0
- */
- if (actionType[i] == AND){
- try {
- //System.out.println(chain[i] );
- bits = (BitSet) ((DocIdBitSet)chain[i].getDocIdSet(reader)).getBitSet().clone();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- ++i;
- }
-
- for( ; i < chainSize; i++) {
-
- int action = (i < actionSize)? actionType[i]: DEFAULT;
- //System.out.println(chain[i] + ": "+ action);
- switch (action){
-
- case (SERIALAND):
- try {
- bits.and(((ISerialChainFilter) chain[i]).bits(reader, bits));
- } catch (CorruptIndexException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- break;
- case (SERIALOR):
- try {
- bits.or(((ISerialChainFilter) chain[i]).bits(reader,bits));
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- break;
- case (AND):
- bits.and(chain[i].bits(reader));
- break;
- case (OR):
- bits.or(((DocIdBitSet)chain[i].getDocIdSet(reader)).getBitSet());
- break;
- }
- }
-
-// System.out.println("++++++====================");
-// new Exception().printStackTrace();
-
- return new DocIdBitSet(bits);
- }
-
- /**
- * @return the chain
- */
- Filter[] getChain() {
- return chain;
- }
-
- /**
- * @return the actionType
- */
- int[] getActionType() {
- return actionType;
- }
-
- /**
- * Returns true if <code>o</code> is equal to this.
- *
- * @see org.apache.lucene.search.RangeFilter#equals
- */
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (!(o instanceof SerialChainFilter)) return false;
- SerialChainFilter other = (SerialChainFilter) o;
-
- if (this.chain.length != other.getChain().length ||
- this.actionType.length != other.getActionType().length)
- return false;
-
- for (int i = 0; i < this.chain.length; i++) {
- if (this.actionType[i] != other.getActionType()[i] ||
- (!this.chain[i].equals(other.getChain()[i])))
- return false;
- }
- return true;
- }
-
- /**
- * Returns a hash code value for this object.
- *
- * @see org.apache.lucene.search.RangeFilter#hashCode
- */
- @Override
- public int hashCode() {
- if (chain.length == 0)
- return 0;
-
- int h = chain[0].hashCode() ^ new Integer(actionType[0]).hashCode();
- for (int i = 1; i < this.chain.length; i++) {
- h ^= chain[i].hashCode();
- h ^= new Integer(actionType[i]).hashCode();
- }
- return h;
- }
-
- @Override
- public String toString() {
- StringBuffer buf = new StringBuffer();
- buf.append("SerialChainFilter(");
- for (int i = 0; i < chain.length; i++) {
- switch(actionType[i]) {
- case (SERIALAND): buf.append("SERIALAND"); break;
- case (SERIALOR): buf.append("SERIALOR"); break;
- case (AND): buf.append("AND"); break;
- case (OR): buf.append("OR"); break;
- default: buf.append(actionType[i]);
- }
- buf.append(" " + chain[i].toString() + " ");
- }
- return buf.toString().trim() + ")";
- }
-}
+/**
+ * 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.
+ */
+
+package org.apache.lucene.spatial;
+
+import java.io.IOException;
+import java.util.BitSet;
+
+import org.apache.lucene.index.CorruptIndexException;
+import org.apache.lucene.index.IndexReader;
+import org.apache.lucene.search.DocIdSet;
+import org.apache.lucene.search.Filter;
+import org.apache.lucene.util.DocIdBitSet;
+
+/**
+ *
+ * Provide a serial chain filter, passing the bitset in with the
+ * index reader to each of the filters in an ordered fashion.
+ *
+ * Based off chain filter, but with some improvements to allow a narrowed down
+ * filtering. Traditional filter required iteration through an IndexReader.
+ *
+ * By implementing the ISerialChainFilter class, you can create a bits(IndexReader reader, BitSet bits)
+ * @see org.apache.lucene.search.ISerialChainFilter
+ *
+ */
+public class SerialChainFilter extends Filter {
+
+ /**
+ * $Id: SerialChainFilter.java 136 2008-12-17 16:16:38Z ryantxu $
+ */
+ private static final long serialVersionUID = 1L;
+ private Filter chain[];
+ public static final int SERIALAND = 1;
+ public static final int SERIALOR = 2;
+ public static final int AND = 3; // regular filters may be used first
+ public static final int OR = 4; // regular filters may be used first
+ public static final int DEFAULT = SERIALOR;
+
+ private int actionType[];
+
+ public SerialChainFilter(Filter chain[]){
+ this.chain = chain;
+ this.actionType = new int[] {DEFAULT};
+ }
+
+ public SerialChainFilter(Filter chain[], int actionType[]){
+ this.chain= chain;
+ this.actionType = actionType;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.lucene.search.Filter#bits(org.apache.lucene.index.IndexReader)
+ */
+ @Override
+ public BitSet bits(IndexReader reader) throws IOException {
+ return ((DocIdBitSet)getDocIdSet(reader)).getBitSet();
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.lucene.search.Filter#getDocIdSet(org.apache.lucene.index.IndexReader)
+ */
+ @Override
+ public DocIdSet getDocIdSet(IndexReader reader) throws CorruptIndexException, IOException {
+
+ BitSet bits = new BitSet(reader.maxDoc());
+ int chainSize = chain.length;
+ int actionSize = actionType.length;
+ int i = 0;
+
+ /**
+ * taken from ChainedFilter, first and on an empty bitset results in 0
+ */
+ if (actionType[i] == AND){
+ try {
+ //System.out.println(chain[i] );
+ bits = (BitSet) ((DocIdBitSet)chain[i].getDocIdSet(reader)).getBitSet().clone();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ ++i;
+ }
+
+ for( ; i < chainSize; i++) {
+
+ int action = (i < actionSize)? actionType[i]: DEFAULT;
+ //System.out.println(chain[i] + ": "+ action);
+ switch (action){
+
+ case (SERIALAND):
+ try {
+ bits.and(((ISerialChainFilter) chain[i]).bits(reader, bits));
+ } catch (CorruptIndexException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ } catch (Exception e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ break;
+ case (SERIALOR):
+ try {
+ bits.or(((ISerialChainFilter) chain[i]).bits(reader,bits));
+ } catch (Exception e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ break;
+ case (AND):
+ bits.and(chain[i].bits(reader));
+ break;
+ case (OR):
+ bits.or(((DocIdBitSet)chain[i].getDocIdSet(reader)).getBitSet());
+ break;
+ }
+ }
+
+// System.out.println("++++++====================");
+// new Exception().printStackTrace();
+
+ return new DocIdBitSet(bits);
+ }
+
+ /**
+ * @return the chain
+ */
+ Filter[] getChain() {
+ return chain;
+ }
+
+ /**
+ * @return the actionType
+ */
+ int[] getActionType() {
+ return actionType;
+ }
+
+ /**
+ * Returns true if <code>o</code> is equal to this.
+ *
+ * @see org.apache.lucene.search.RangeFilter#equals
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (!(o instanceof SerialChainFilter)) return false;
+ SerialChainFilter other = (SerialChainFilter) o;
+
+ if (this.chain.length != other.getChain().length ||
+ this.actionType.length != other.getActionType().length)
+ return false;
+
+ for (int i = 0; i < this.chain.length; i++) {
+ if (this.actionType[i] != other.getActionType()[i] ||
+ (!this.chain[i].equals(other.getChain()[i])))
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Returns a hash code value for this object.
+ *
+ * @see org.apache.lucene.search.RangeFilter#hashCode
+ */
+ @Override
+ public int hashCode() {
+ if (chain.length == 0)
+ return 0;
+
+ int h = chain[0].hashCode() ^ new Integer(actionType[0]).hashCode();
+ for (int i = 1; i < this.chain.length; i++) {
+ h ^= chain[i].hashCode();
+ h ^= new Integer(actionType[i]).hashCode();
+ }
+ return h;
+ }
+
+ @Override
+ public String toString() {
+ StringBuffer buf = new StringBuffer();
+ buf.append("SerialChainFilter(");
+ for (int i = 0; i < chain.length; i++) {
+ switch(actionType[i]) {
+ case (SERIALAND): buf.append("SERIALAND"); break;
+ case (SERIALOR): buf.append("SERIALOR"); break;
+ case (AND): buf.append("AND"); break;
+ case (OR): buf.append("OR"); break;
+ default: buf.append(actionType[i]);
+ }
+ buf.append(" " + chain[i].toString() + " ");
+ }
+ return buf.toString().trim() + ")";
+ }
+}
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/SerialChainFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geohash/GeoHashDistanceFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geohash/GeoHashUtils.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/CartesianPoint.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/DistanceUnits.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/FixedLatLng.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/FloatLatLng.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/LatLng.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/DistanceApproximation.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/Ellipse.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/Geometry2D.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/IntersectCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/LLRect.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/LineSegment.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/Point2D.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/Rectangle.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/Vector2D.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/BoundaryBoxFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/CartesianPolyFilterBuilder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/CartesianShapeFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceFieldComparatorSource.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceQueryBuilder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceSortSource.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/DistanceUtils.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/InvalidGeoException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/LatLongDistanceFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/Shape.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/projections/CartesianTierPlotter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/projections/IProjector.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/java/org/apache/lucene/spatial/tier/projections/SinusoidalProjector.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/DistanceCheck.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/PolyShape.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/PolyShape.java?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/PolyShape.java (original)
+++ lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/PolyShape.java Mon Jun 22 22:18:56 2009
@@ -1 +1,38 @@
-/**
* 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.
*/
package org.apache.lucene.spatial.tier;
/**
*
*/
public class PolyShape {
private static double lat = 38.969398;
private static double lng= -77.386398;
private static int mil
es = 1000;
/**
* @param args
*/
public static void main(String[] args) {
CartesianPolyFilterBuilder cpf = new CartesianPolyFilterBuilder( "_localTier" );
cpf.getBoxShape(lat, lng, miles);
}
}
\ No newline at end of file
+/**
+ * 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.
+ */
+package org.apache.lucene.spatial.tier;
+
+
+/**
+ *
+ */
+public class PolyShape {
+
+ private static double lat = 38.969398;
+ private static double lng= -77.386398;
+ private static int miles = 1000;
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+
+ CartesianPolyFilterBuilder cpf = new CartesianPolyFilterBuilder( "_localTier" );
+ cpf.getBoxShape(lat, lng, miles);
+
+ }
+
+}
Propchange: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/PolyShape.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestDistance.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/spellchecker/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spellchecker/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spellchecker/pom.xml.template (original)
+++ lucene/java/trunk/contrib/spellchecker/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,36 +1,36 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-spellchecker</artifactId>
- <name>Lucene Spellchecker</name>
- <version>@version@</version>
- <description>Spell Checker</description>
- <packaging>jar</packaging>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-spellchecker</artifactId>
+ <name>Lucene Spellchecker</name>
+ <version>@version@</version>
+ <description>Spell Checker</description>
+ <packaging>jar</packaging>
+</project>
Propchange: lucene/java/trunk/contrib/spellchecker/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/NGramDistance.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestNGramDistance.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/surround/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/surround/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/surround/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/surround/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/surround/pom.xml.template (original)
+++ lucene/java/trunk/contrib/surround/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,36 +1,36 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-surround</artifactId>
- <name>Lucene Surround</name>
- <version>@version@</version>
- <description>Surround query parser</description>
- <packaging>jar</packaging>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-surround</artifactId>
+ <name>Lucene Surround</name>
+ <version>@version@</version>
+ <description>Surround query parser</description>
+ <packaging>jar</packaging>
+</project>
Propchange: lucene/java/trunk/contrib/surround/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.jj
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/swing/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/build.xml?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/swing/build.xml (original)
+++ lucene/java/trunk/contrib/swing/build.xml Mon Jun 22 22:18:56 2009
@@ -1,41 +1,41 @@
-<?xml version="1.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.
- -->
-
-<project name="swing" default="default">
-
- <description>
- Swing Models
- </description>
-
- <import file="../contrib-build.xml"/>
-
- <target name="list-demo" depends="compile">
- <java classname="org.apache.lucene.swing.models.ListSearcherSimulator"
- fork="yes" spawn="yes"
- classpathref="test.classpath"
- />
- </target>
-
- <target name="table-demo" depends="compile">
- <java classname="org.apache.lucene.swing.models.TableSearcherSimulator"
- fork="yes" spawn="yes"
- classpathref="test.classpath"
- />
- </target>
-</project>
+<?xml version="1.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.
+ -->
+
+<project name="swing" default="default">
+
+ <description>
+ Swing Models
+ </description>
+
+ <import file="../contrib-build.xml"/>
+
+ <target name="list-demo" depends="compile">
+ <java classname="org.apache.lucene.swing.models.ListSearcherSimulator"
+ fork="yes" spawn="yes"
+ classpathref="test.classpath"
+ />
+ </target>
+
+ <target name="table-demo" depends="compile">
+ <java classname="org.apache.lucene.swing.models.TableSearcherSimulator"
+ fork="yes" spawn="yes"
+ classpathref="test.classpath"
+ />
+ </target>
+</project>
Propchange: lucene/java/trunk/contrib/swing/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/swing/docs/index.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/docs/index.html?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/swing/docs/index.html (original)
+++ lucene/java/trunk/contrib/swing/docs/index.html Mon Jun 22 22:18:56 2009
@@ -1,97 +1,97 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Lucene Powered Swing Data Models</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-<body>
-<h1><strong> Lucene Powered Swing Data Models </strong></h1>
-<p><strong>by Jonathan Simon </strong></p>
-<p> </p>
-<p><strong>What it is.</strong></p>
-<p>This package contains classes that help you easily integrate Lucene based searching
- into your Swing components. Currently there are classes to index and search
- JTables and JLists. This is done using model decorators rather than custom models
- to make it easier to search current models as well as new ones. </p>
-<p><em>These models do not actually contain any data</em>. Rather, the ListModel
- decorator (ListSearcher) and the TableModel decorator (TableSearcher) take a
- model in the constructor and delegate all calls to it (after a little alteration,
- but we'll get to that). That said, these are not full fledged models themselves.
- You still have to have another model to decorate with the searching models.
- If you are adding searching to a pre-existing model, you can use your pre-existing
- model directly. Otherwise, you can implement a model from scratch or use a pre-existing
- one to get started. </p>
-<p><strong>What it isn't. </strong></p>
-<p>A complete component: These are just models. They are not complete components
- with search fields and buttons laid out like a searchable interface. You still
- have to build that since the UI changes drastically between applciations.</p>
-<p>A complete model: There are just model decorators. You can't just set the model
- of a JList or JTable to one of these models, and you can't add data directly
- to these models. </p>
-<p>A front end for a lucene index: In other words, you can't use these classes
- to point a JTable directly to a Lucene index. Although that's interesting in
- its own right, this is not that. </p>
-<p><strong>Usage: </strong></p>
-<p>Coding to both models nearly identical. They both take the model to decorate
- at construction time. Here is the code from the demo to decorate a JTable model
- with the TableSearcher and set it as the table model. </p>
-<pre><code>//make a new JTable
-JTable table = new JTable();
-//make my base model, the model with the data
-BaseTableModel tableModel = new BaseTableModel(DataStore.getRestaurants());
-//decorate the tableModel with the TableSearcher
-TableSearcher searchTableModel = new TableSearcher(tableModel);
-//set the TableModel in the table to the TableSearcher
-table.setModel(searchTableModel);
-</code></pre>
-<p>Initially, you won't notice a difference. This is because there is no active
- search which displays all data from the underlying model. You search by calling
- the <code>search</code>() method passing a search string. This filters the data
- set down without changing the underlying data model -- one of the main reasons
- for decorating in the first place. Any valid Lucene search string should work
- (see notes for more info on this). You'll probaby have some code somewhere like
- this in your app to connect a text field and search button to the model. </p>
-<pre><code>//create components
-final JTextField searchField = new JTextField();
-JButton searchButton = new JButton("Go");
-
-//make an action listener
-ActionListener searchListener = new ActionListener() {
- public void actionPerformed(ActionEvent e) {
- searchTableModel.search(searchField.getText().trim().toLowerCase());
- }
-};
-
-//register listeners
-searchButton.addActionListener(searchListener);
-searchField.addActionListener(searchListener);</code></pre>
-<p>You also might want to have a clear search button, working the same way. But
- to keep things simple, if you search will a <code>null </code>String or an empty
- String, the search clears and you will once again see all of your data. </p>
-<p><strong>Demo notes:</strong> </p>
-<p>The list demo does real time searching. In other words, as you type, searches
- run and the result set updates. The table demo has a search button, and only
- searches when the button is clicked. They both work, I just implemented them
- this way to show the different UI metaphors and that they both work.</p>
-<p><strong>Implementation notes: </strong></p>
-<p>This code started as a proof of concept so it's not a <em>fully</em> featured
- model. Don't get me wrong, it <em>fully</em> works, but it could use some improvement
- that it will hopefully get over time. I just wanted to get it out there and
- get people using it. I'm also trying to keep everything as simple as possible.
- Here are some of the issues. </p>
-<ul>
- <li>You can't change the model after the Searcher is constructed. </li>
- <li>The search model decorators <em>do</em> update when the decorated model
- is updated, but not in a very efficient way. The whole search model is reindexed
- when anything changes. This is a definite scaling issue. </li>
- <li>The indexing and searching logic needs to be generally more configurable
- to allow custom tailoring of searched and indexing. </li>
- <li>The TableSearcher uses column names to index column values. This could be
- an issue with multiple word column names. </li>
- <li>The ListSearcher uses MultiFieldQueryParser even though its not really indexing
- multiple fields. </li>
-</ul>
-<p> </p>
-<p> </p>
-</body>
-</html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>Lucene Powered Swing Data Models</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+<body>
+<h1><strong> Lucene Powered Swing Data Models </strong></h1>
+<p><strong>by Jonathan Simon </strong></p>
+<p> </p>
+<p><strong>What it is.</strong></p>
+<p>This package contains classes that help you easily integrate Lucene based searching
+ into your Swing components. Currently there are classes to index and search
+ JTables and JLists. This is done using model decorators rather than custom models
+ to make it easier to search current models as well as new ones. </p>
+<p><em>These models do not actually contain any data</em>. Rather, the ListModel
+ decorator (ListSearcher) and the TableModel decorator (TableSearcher) take a
+ model in the constructor and delegate all calls to it (after a little alteration,
+ but we'll get to that). That said, these are not full fledged models themselves.
+ You still have to have another model to decorate with the searching models.
+ If you are adding searching to a pre-existing model, you can use your pre-existing
+ model directly. Otherwise, you can implement a model from scratch or use a pre-existing
+ one to get started. </p>
+<p><strong>What it isn't. </strong></p>
+<p>A complete component: These are just models. They are not complete components
+ with search fields and buttons laid out like a searchable interface. You still
+ have to build that since the UI changes drastically between applciations.</p>
+<p>A complete model: There are just model decorators. You can't just set the model
+ of a JList or JTable to one of these models, and you can't add data directly
+ to these models. </p>
+<p>A front end for a lucene index: In other words, you can't use these classes
+ to point a JTable directly to a Lucene index. Although that's interesting in
+ its own right, this is not that. </p>
+<p><strong>Usage: </strong></p>
+<p>Coding to both models nearly identical. They both take the model to decorate
+ at construction time. Here is the code from the demo to decorate a JTable model
+ with the TableSearcher and set it as the table model. </p>
+<pre><code>//make a new JTable
+JTable table = new JTable();
+//make my base model, the model with the data
+BaseTableModel tableModel = new BaseTableModel(DataStore.getRestaurants());
+//decorate the tableModel with the TableSearcher
+TableSearcher searchTableModel = new TableSearcher(tableModel);
+//set the TableModel in the table to the TableSearcher
+table.setModel(searchTableModel);
+</code></pre>
+<p>Initially, you won't notice a difference. This is because there is no active
+ search which displays all data from the underlying model. You search by calling
+ the <code>search</code>() method passing a search string. This filters the data
+ set down without changing the underlying data model -- one of the main reasons
+ for decorating in the first place. Any valid Lucene search string should work
+ (see notes for more info on this). You'll probaby have some code somewhere like
+ this in your app to connect a text field and search button to the model. </p>
+<pre><code>//create components
+final JTextField searchField = new JTextField();
+JButton searchButton = new JButton("Go");
+
+//make an action listener
+ActionListener searchListener = new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ searchTableModel.search(searchField.getText().trim().toLowerCase());
+ }
+};
+
+//register listeners
+searchButton.addActionListener(searchListener);
+searchField.addActionListener(searchListener);</code></pre>
+<p>You also might want to have a clear search button, working the same way. But
+ to keep things simple, if you search will a <code>null </code>String or an empty
+ String, the search clears and you will once again see all of your data. </p>
+<p><strong>Demo notes:</strong> </p>
+<p>The list demo does real time searching. In other words, as you type, searches
+ run and the result set updates. The table demo has a search button, and only
+ searches when the button is clicked. They both work, I just implemented them
+ this way to show the different UI metaphors and that they both work.</p>
+<p><strong>Implementation notes: </strong></p>
+<p>This code started as a proof of concept so it's not a <em>fully</em> featured
+ model. Don't get me wrong, it <em>fully</em> works, but it could use some improvement
+ that it will hopefully get over time. I just wanted to get it out there and
+ get people using it. I'm also trying to keep everything as simple as possible.
+ Here are some of the issues. </p>
+<ul>
+ <li>You can't change the model after the Searcher is constructed. </li>
+ <li>The search model decorators <em>do</em> update when the decorated model
+ is updated, but not in a very efficient way. The whole search model is reindexed
+ when anything changes. This is a definite scaling issue. </li>
+ <li>The indexing and searching logic needs to be generally more configurable
+ to allow custom tailoring of searched and indexing. </li>
+ <li>The TableSearcher uses column names to index column values. This could be
+ an issue with multiple word column names. </li>
+ <li>The ListSearcher uses MultiFieldQueryParser even though its not really indexing
+ multiple fields. </li>
+</ul>
+<p> </p>
+<p> </p>
+</body>
+</html>
Propchange: lucene/java/trunk/contrib/swing/docs/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/swing/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/swing/pom.xml.template (original)
+++ lucene/java/trunk/contrib/swing/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,36 +1,36 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-swing</artifactId>
- <name>Lucene Swing</name>
- <version>@version@</version>
- <description>Swing Models</description>
- <packaging>jar</packaging>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-swing</artifactId>
+ <name>Lucene Swing</name>
+ <version>@version@</version>
+ <description>Swing Models</description>
+ <packaging>jar</packaging>
+</project>
Propchange: lucene/java/trunk/contrib/swing/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/swing/src/java/org/apache/lucene/swing/models/package.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/src/java/org/apache/lucene/swing/models/package.html?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/swing/src/java/org/apache/lucene/swing/models/package.html (original)
+++ lucene/java/trunk/contrib/swing/src/java/org/apache/lucene/swing/models/package.html Mon Jun 22 22:18:56 2009
@@ -1,5 +1,5 @@
-<html>
-<body>
-Decorators for JTable TableModel and JList ListModel encapsulating Lucene indexing and searching functionality.
-</body>
-</html>
+<html>
+<body>
+Decorators for JTable TableModel and JList ListModel encapsulating Lucene indexing and searching functionality.
+</body>
+</html>
Propchange: lucene/java/trunk/contrib/swing/src/java/org/apache/lucene/swing/models/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/swing/src/java/overview.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/src/java/overview.html?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/swing/src/java/overview.html (original)
+++ lucene/java/trunk/contrib/swing/src/java/overview.html Mon Jun 22 22:18:56 2009
@@ -1,7 +1,7 @@
-<html>
- <head>
- <title>Apache Lucene Swing Component Models</title>
- </head>
- <body>
- </body>
+<html>
+ <head>
+ <title>Apache Lucene Swing Component Models</title>
+ </head>
+ <body>
+ </body>
</html>
\ No newline at end of file
Propchange: lucene/java/trunk/contrib/swing/src/java/overview.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/wikipedia/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/wikipedia/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/wikipedia/pom.xml.template (original)
+++ lucene/java/trunk/contrib/wikipedia/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,43 +1,43 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-wikipedia</artifactId>
- <name>Lucene Wikipedia Tools</name>
- <version>@version@</version>
- <description>Lucene Wikipedia Contributions</description>
- <packaging>jar</packaging>
- <dependencies>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-benchmark</artifactId>
- <version>@version@</version>
- </dependency>
- </dependencies>
-</project>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-wikipedia</artifactId>
+ <name>Lucene Wikipedia Tools</name>
+ <version>@version@</version>
+ <description>Lucene Wikipedia Contributions</description>
+ <packaging>jar</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-benchmark</artifactId>
+ <version>@version@</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: lucene/java/trunk/contrib/wikipedia/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/java/trunk/contrib/wikipedia/src/java/org/apache/lucene/wikipedia/analysis/WikipediaTokenizerImpl.jflex
------------------------------------------------------------------------------
svn:eol-style = native
Modified: lucene/java/trunk/contrib/wordnet/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/wordnet/pom.xml.template?rev=787424&r1=787423&r2=787424&view=diff
==============================================================================
--- lucene/java/trunk/contrib/wordnet/pom.xml.template (original)
+++ lucene/java/trunk/contrib/wordnet/pom.xml.template Mon Jun 22 22:18:56 2009
@@ -1,37 +1,37 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
- 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.
- -->
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-contrib</artifactId>
- <version>@version@</version>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-wordnet</artifactId>
- <name>Lucene Wordnet</name>
- <version>@version@</version>
- <description>WordNet</description>
- <packaging>jar</packaging>
-
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+ 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.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-contrib</artifactId>
+ <version>@version@</version>
+ </parent>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-wordnet</artifactId>
+ <name>Lucene Wordnet</name>
+ <version>@version@</version>
+ <description>WordNet</description>
+ <packaging>jar</packaging>
+
+</project>
Propchange: lucene/java/trunk/contrib/wordnet/pom.xml.template
------------------------------------------------------------------------------
svn:eol-style = native