You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2015/02/07 18:30:23 UTC
svn commit: r1658082 [2/3] - in /lucene/dev/trunk/lucene/analysis:
common/src/java/org/apache/lucene/analysis/custom/
common/src/java/org/apache/lucene/analysis/cz/
common/src/java/org/apache/lucene/analysis/da/
common/src/java/org/apache/lucene/analys...
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analysis components for path-like strings such as filenames.
-</body>
-</html>
+/**
+ * Analysis components for path-like strings such as filenames.
+ */
+package org.apache.lucene.analysis.path;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Set of components for pattern-based (regex) analysis.
-</body>
-</html>
+/**
+ * Set of components for pattern-based (regex) analysis.
+ */
+package org.apache.lucene.analysis.pattern;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,25 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>org.apache.lucene.analysis.payloads</TITLE>
-</HEAD>
-<BODY>
-Provides various convenience classes for creating payloads on Tokens.
-</BODY>
-</HTML>
\ No newline at end of file
+/**
+ * Provides various convenience classes for creating payloads on Tokens.
+ */
+package org.apache.lucene.analysis.payloads;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Portuguese.
-</body>
-</html>
+/**
+ * Analyzer for Portuguese.
+ */
+package org.apache.lucene.analysis.pt;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Automatically filter high-frequency stopwords.
-</body>
-</html>
+/**
+ * Automatically filter high-frequency stopwords.
+ */
+package org.apache.lucene.analysis.query;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/reverse/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Filter to reverse token text.
-</body>
-</html>
+/**
+ * Filter to reverse token text.
+ */
+package org.apache.lucene.analysis.reverse;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Romanian.
-</body>
-</html>
+/**
+ * Analyzer for Romanian.
+ */
+package org.apache.lucene.analysis.ro;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Russian.
-</body>
-</html>
+/**
+ * Analyzer for Russian.
+ */
+package org.apache.lucene.analysis.ru;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Word n-gram filters
-</body>
-</html>
+/**
+ * Word n-gram filters.
+ */
+package org.apache.lucene.analysis.shingle;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,27 +1,23 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>org.apache.lucene.analysis.sinks</TITLE>
-</HEAD>
-<BODY>
-{@link org.apache.lucene.analysis.sinks.TeeSinkTokenFilter} and implementations
-of {@link org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkFilter} that
-might be useful.
-</BODY>
-</HTML>
\ No newline at end of file
+/**
+ * {@link org.apache.lucene.analysis.sinks.TeeSinkTokenFilter} and implementations
+ * of {@link org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkFilter} that
+ * might be useful.
+ */
+package org.apache.lucene.analysis.sinks;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,53 +1,51 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>
-<body>
-{@link org.apache.lucene.analysis.TokenFilter} and {@link
-org.apache.lucene.analysis.Analyzer} implementations that use Snowball
-stemmers.
-<p>
-This project provides pre-compiled version of the Snowball stemmers
-based on revision 500 of the Tartarus Snowball repository,
-together with classes integrating them with the Lucene search engine.
-</p>
-<p>
-A few changes has been made to the static Snowball code and compiled stemmers:
-</p>
-<ul>
- <li>Class SnowballProgram is made abstract and contains new abstract method stem() to avoid reflection in Lucene filter class SnowballFilter.</li>
- <li>All use of StringBuffers has been refactored to StringBuilder for speed.</li>
- <li>Snowball BSD license header has been added to the Java classes to avoid having RAT adding ASL headers.</li>
-</ul>
-<p>
-See the Snowball <a href ="http://snowball.tartarus.org/">home page</a> for more information about the algorithms.
-</p>
-
-<p>
-<b>IMPORTANT NOTICE ON BACKWARDS COMPATIBILITY!</b>
-</p>
-<p>
-An index created using the Snowball module in Lucene 2.3.2 and below
-might not be compatible with the Snowball module in Lucene 2.4 or greater.
-</p>
-<p>
-For more information about this issue see:
-https://issues.apache.org/jira/browse/LUCENE-1142
-</p>
-
-</body>
-</html>
+/**
+ * {@link org.apache.lucene.analysis.TokenFilter} and {@link
+ * org.apache.lucene.analysis.Analyzer} implementations that use Snowball
+ * stemmers.
+ * <p>
+ * This project provides pre-compiled version of the Snowball stemmers
+ * based on revision 500 of the Tartarus Snowball repository,
+ * together with classes integrating them with the Lucene search engine.
+ * </p>
+ * <p>
+ * A few changes has been made to the static Snowball code and compiled stemmers:
+ * </p>
+ * <ul>
+ * <li>Class SnowballProgram is made abstract and contains new abstract method stem() to avoid reflection in Lucene filter class SnowballFilter.</li>
+ * <li>All use of StringBuffers has been refactored to StringBuilder for speed.</li>
+ * <li>Snowball BSD license header has been added to the Java classes to avoid having RAT adding ASL headers.</li>
+ * </ul>
+ * <p>
+ * See the Snowball <a href ="http://snowball.tartarus.org/">home page</a> for more information about the algorithms.
+ * </p>
+ *
+ * <p>
+ * <b>IMPORTANT NOTICE ON BACKWARDS COMPATIBILITY!</b>
+ * </p>
+ * <p>
+ * An index created using the Snowball module in Lucene 2.3.2 and below
+ * might not be compatible with the Snowball module in Lucene 2.4 or greater.
+ * </p>
+ * <p>
+ * For more information about this issue see:
+ * https://issues.apache.org/jira/browse/LUCENE-1142
+ * </p>
+ */
+package org.apache.lucene.analysis.snowball;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Serbian.
-</body>
-</html>
+/**
+ * Analyzer for Serbian.
+ */
+package org.apache.lucene.analysis.sr;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,69 +1,63 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-<body>
-<p>
-Fast, general-purpose grammar-based tokenizers.
-</p>
-<p>The <code>org.apache.lucene.analysis.standard</code> package contains three
- fast grammar-based tokenizers constructed with JFlex:</p>
-<ul>
- <li>{@link org.apache.lucene.analysis.standard.StandardTokenizer}:
- as of Lucene 3.1, implements the Word Break rules from the Unicode Text
- Segmentation algorithm, as specified in
- <a href="http://unicode.org/reports/tr29/">Unicode Standard Annex #29</a>.
- Unlike <code>UAX29URLEmailTokenizer</code>, URLs and email addresses are
- <b>not</b> tokenized as single tokens, but are instead split up into
- tokens according to the UAX#29 word break rules.
- <br/>
- {@link org.apache.lucene.analysis.standard.StandardAnalyzer StandardAnalyzer} includes
- {@link org.apache.lucene.analysis.standard.StandardTokenizer StandardTokenizer},
- {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
- {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
- and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
- When the <code>Version</code> specified in the constructor is lower than
- 3.1, the {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}
- implementation is invoked.</li>
- <li>{@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}:
- this class was formerly (prior to Lucene 3.1) named
- <code>StandardTokenizer</code>. (Its tokenization rules are not
- based on the Unicode Text Segmentation algorithm.)
- {@link org.apache.lucene.analysis.standard.ClassicAnalyzer ClassicAnalyzer} includes
- {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer},
- {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
- {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
- and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
- </li>
- <li>{@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer}:
- implements the Word Break rules from the Unicode Text Segmentation
- algorithm, as specified in
- <a href="http://unicode.org/reports/tr29/">Unicode Standard Annex #29</a>.
- URLs and email addresses are also tokenized according to the relevant RFCs.
- <br/>
- {@link org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer UAX29URLEmailAnalyzer} includes
- {@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer},
- {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
- {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
- and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
- </li>
-</ul>
-</body>
-</html>
+/**
+ * Fast, general-purpose grammar-based tokenizers.
+ * <p>The <code>org.apache.lucene.analysis.standard</code> package contains three
+ * fast grammar-based tokenizers constructed with JFlex:</p>
+ * <ul>
+ * <li>{@link org.apache.lucene.analysis.standard.StandardTokenizer}:
+ * as of Lucene 3.1, implements the Word Break rules from the Unicode Text
+ * Segmentation algorithm, as specified in
+ * <a href="http://unicode.org/reports/tr29/">Unicode Standard Annex #29</a>.
+ * Unlike <code>UAX29URLEmailTokenizer</code>, URLs and email addresses are
+ * <b>not</b> tokenized as single tokens, but are instead split up into
+ * tokens according to the UAX#29 word break rules.
+ * <br>
+ * {@link org.apache.lucene.analysis.standard.StandardAnalyzer StandardAnalyzer} includes
+ * {@link org.apache.lucene.analysis.standard.StandardTokenizer StandardTokenizer},
+ * {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
+ * {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
+ * and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
+ * When the <code>Version</code> specified in the constructor is lower than
+ * 3.1, the {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}
+ * implementation is invoked.</li>
+ * <li>{@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}:
+ * this class was formerly (prior to Lucene 3.1) named
+ * <code>StandardTokenizer</code>. (Its tokenization rules are not
+ * based on the Unicode Text Segmentation algorithm.)
+ * {@link org.apache.lucene.analysis.standard.ClassicAnalyzer ClassicAnalyzer} includes
+ * {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer},
+ * {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
+ * {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
+ * and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
+ * </li>
+ * <li>{@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer}:
+ * implements the Word Break rules from the Unicode Text Segmentation
+ * algorithm, as specified in
+ * <a href="http://unicode.org/reports/tr29/">Unicode Standard Annex #29</a>.
+ * URLs and email addresses are also tokenized according to the relevant RFCs.
+ * <br>
+ * {@link org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer UAX29URLEmailAnalyzer} includes
+ * {@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer},
+ * {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
+ * {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
+ * and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
+ * </li>
+ * </ul>
+ */
+package org.apache.lucene.analysis.standard;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Swedish.
-</body>
-</html>
+/**
+ * Analyzer for Swedish.
+ */
+package org.apache.lucene.analysis.sv;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analysis components for Synonyms.
-</body>
-</html>
+/**
+ * Analysis components for Synonyms.
+ */
+package org.apache.lucene.analysis.synonym;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Thai.
-</body>
-</html>
+/**
+ * Analyzer for Thai.
+ */
+package org.apache.lucene.analysis.th;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analyzer for Turkish.
-</body>
-</html>
+/**
+ * Analyzer for Turkish.
+ */
+package org.apache.lucene.analysis.tr;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Utility functions for text analysis.
-</body>
-</html>
+/**
+ * Utility functions for text analysis.
+ */
+package org.apache.lucene.analysis.util;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>
-<body>
-Tokenizer that is aware of Wikipedia syntax.
-</body>
-</html>
+/**
+ * Tokenizer that is aware of Wikipedia syntax.
+ */
+package org.apache.lucene.analysis.wikipedia;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,170 +1,163 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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>Lucene Collation Package</title>
-</head>
-<body>
-<p>
- Unicode collation support.
- <code>Collation</code>
- converts each token into its binary <code>CollationKey</code> using the
- provided <code>Collator</code>, allowing it to be stored as an index term.
-</p>
-
-<h2>Use Cases</h2>
-
-<ul>
- <li>
- Efficient sorting of terms in languages that use non-Unicode character
- orderings. (Lucene Sort using a Locale can be very slow.)
- </li>
- <li>
- Efficient range queries over fields that contain terms in languages that
- use non-Unicode character orderings. (Range queries using a Locale can be
- very slow.)
- </li>
- <li>
- Effective Locale-specific normalization (case differences, diacritics, etc.).
- ({@link org.apache.lucene.analysis.core.LowerCaseFilter} and
- {@link org.apache.lucene.analysis.miscellaneous.ASCIIFoldingFilter} provide these services
- in a generic way that doesn't take into account locale-specific needs.)
- </li>
-</ul>
-
-<h2>Example Usages</h2>
-
-<h3>Farsi Range Queries</h3>
-<pre class="prettyprint">
- // "fa" Locale is not supported by Sun JDK 1.4 or 1.5
- Collator collator = Collator.getInstance(new Locale("ar"));
- CollationKeyAnalyzer analyzer = new CollationKeyAnalyzer(version, collator);
- RAMDirectory ramDir = new RAMDirectory();
- IndexWriter writer = new IndexWriter(ramDir, new IndexWriterConfig(version, analyzer));
- Document doc = new Document();
- doc.add(new TextField("content", "\u0633\u0627\u0628", Field.Store.YES));
- writer.addDocument(doc);
- writer.close();
- IndexReader ir = DirectoryReader.open(ramDir);
- IndexSearcher is = new IndexSearcher(ir);
-
- QueryParser aqp = new QueryParser(version, "content", analyzer);
- aqp.setAnalyzeRangeTerms(true);
-
- // Unicode order would include U+0633 in [ U+062F - U+0698 ], but Farsi
- // orders the U+0698 character before the U+0633 character, so the single
- // indexed Term above should NOT be returned by a ConstantScoreRangeQuery
- // with a Farsi Collator (or an Arabic one for the case when Farsi is not
- // supported).
- ScoreDoc[] result
- = is.search(aqp.parse("[ \u062F TO \u0698 ]"), null, 1000).scoreDocs;
- assertEquals("The index Term should not be included.", 0, result.length);
-</pre>
-
-<h3>Danish Sorting</h3>
-<pre class="prettyprint">
- Analyzer analyzer
- = new CollationKeyAnalyzer(version, Collator.getInstance(new Locale("da", "dk")));
- RAMDirectory indexStore = new RAMDirectory();
- IndexWriter writer = new IndexWriter(indexStore, new IndexWriterConfig(version, analyzer));
- String[] tracer = new String[] { "A", "B", "C", "D", "E" };
- String[] data = new String[] { "HAT", "HUT", "H\u00C5T", "H\u00D8T", "HOT" };
- String[] sortedTracerOrder = new String[] { "A", "E", "B", "D", "C" };
- for (int i = 0 ; i < data.length ; ++i) {
- Document doc = new Document();
- doc.add(new StoredField("tracer", tracer[i]));
- doc.add(new TextField("contents", data[i], Field.Store.NO));
- writer.addDocument(doc);
- }
- writer.close();
- IndexReader ir = DirectoryReader.open(indexStore);
- IndexSearcher searcher = new IndexSearcher(ir);
- Sort sort = new Sort();
- sort.setSort(new SortField("contents", SortField.STRING));
- Query query = new MatchAllDocsQuery();
- ScoreDoc[] result = searcher.search(query, null, 1000, sort).scoreDocs;
- for (int i = 0 ; i < result.length ; ++i) {
- Document doc = searcher.doc(result[i].doc);
- assertEquals(sortedTracerOrder[i], doc.getValues("tracer")[0]);
- }
-</pre>
-
-<h3>Turkish Case Normalization</h3>
-<pre class="prettyprint">
- Collator collator = Collator.getInstance(new Locale("tr", "TR"));
- collator.setStrength(Collator.PRIMARY);
- Analyzer analyzer = new CollationKeyAnalyzer(version, collator);
- RAMDirectory ramDir = new RAMDirectory();
- IndexWriter writer = new IndexWriter(ramDir, new IndexWriterConfig(version, analyzer));
- Document doc = new Document();
- doc.add(new TextField("contents", "DIGY", Field.Store.NO));
- writer.addDocument(doc);
- writer.close();
- IndexReader ir = DirectoryReader.open(ramDir);
- IndexSearcher is = new IndexSearcher(ir);
- QueryParser parser = new QueryParser(version, "contents", analyzer);
- Query query = parser.parse("d\u0131gy"); // U+0131: dotless i
- ScoreDoc[] result = is.search(query, null, 1000).scoreDocs;
- assertEquals("The index Term should be included.", 1, result.length);
-</pre>
-
-<h2>Caveats and Comparisons</h2>
-<p>
- <strong>WARNING:</strong> Make sure you use exactly the same
- <code>Collator</code> at index and query time -- <code>CollationKey</code>s
- are only comparable when produced by
- the same <code>Collator</code>. Since {@link java.text.RuleBasedCollator}s
- are not independently versioned, it is unsafe to search against stored
- <code>CollationKey</code>s unless the following are exactly the same (best
- practice is to store this information with the index and check that they
- remain the same at query time):
-</p>
-<ol>
- <li>JVM vendor</li>
- <li>JVM version, including patch version</li>
- <li>
- The language (and country and variant, if specified) of the Locale
- used when constructing the collator via
- {@link java.text.Collator#getInstance(java.util.Locale)}.
- </li>
- <li>
- The collation strength used - see {@link java.text.Collator#setStrength(int)}
- </li>
-</ol>
-<p>
- <code>ICUCollationKeyAnalyzer</code>, available in the <a href="{@docRoot}/../analyzers-icu/overview-summary.html">icu analysis module</a>,
- uses ICU4J's <code>Collator</code>, which
- makes its version available, thus allowing collation to be versioned
- independently from the JVM. <code>ICUCollationKeyAnalyzer</code> is also
- significantly faster and generates significantly shorter keys than
- <code>CollationKeyAnalyzer</code>. See
- <a href="http://site.icu-project.org/charts/collation-icu4j-sun"
- >http://site.icu-project.org/charts/collation-icu4j-sun</a> for key
- generation timing and key length comparisons between ICU4J and
- <code>java.text.Collator</code> over several languages.
-</p>
-<p>
- <code>CollationKey</code>s generated by <code>java.text.Collator</code>s are
- not compatible with those those generated by ICU Collators. Specifically, if
- you use <code>CollationKeyAnalyzer</code> to generate index terms, do not use
- <code>ICUCollationKeyAnalyzer</code> on the query side, or vice versa.
-</p>
-<pre>
-</pre>
-</body>
-</html>
+/*
+ * 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.
+ */
+
+/**
+ * Unicode collation support.
+ * <p>
+ * <code>Collation</code> converts each token into its binary <code>CollationKey</code>
+ * using the provided <code>Collator</code>, allowing it to be stored as an index term.
+ * </p>
+ *
+ * <h2>Use Cases</h2>
+ *
+ * <ul>
+ * <li>
+ * Efficient sorting of terms in languages that use non-Unicode character
+ * orderings. (Lucene Sort using a Locale can be very slow.)
+ * </li>
+ * <li>
+ * Efficient range queries over fields that contain terms in languages that
+ * use non-Unicode character orderings. (Range queries using a Locale can be
+ * very slow.)
+ * </li>
+ * <li>
+ * Effective Locale-specific normalization (case differences, diacritics, etc.).
+ * ({@link org.apache.lucene.analysis.core.LowerCaseFilter} and
+ * {@link org.apache.lucene.analysis.miscellaneous.ASCIIFoldingFilter} provide these services
+ * in a generic way that doesn't take into account locale-specific needs.)
+ * </li>
+ * </ul>
+ *
+ * <h2>Example Usages</h2>
+ *
+ * <h3>Farsi Range Queries</h3>
+ * <pre class="prettyprint">
+ * // "fa" Locale is not supported by Sun JDK 1.4 or 1.5
+ * Collator collator = Collator.getInstance(new Locale("ar"));
+ * CollationKeyAnalyzer analyzer = new CollationKeyAnalyzer(collator);
+ * RAMDirectory ramDir = new RAMDirectory();
+ * IndexWriter writer = new IndexWriter(ramDir, new IndexWriterConfig(analyzer));
+ * Document doc = new Document();
+ * doc.add(new TextField("content", "\u0633\u0627\u0628", Field.Store.YES));
+ * writer.addDocument(doc);
+ * writer.close();
+ * IndexReader ir = DirectoryReader.open(ramDir);
+ * IndexSearcher is = new IndexSearcher(ir);
+ *
+ * QueryParser aqp = new QueryParser("content", analyzer);
+ * aqp.setAnalyzeRangeTerms(true);
+ *
+ * // Unicode order would include U+0633 in [ U+062F - U+0698 ], but Farsi
+ * // orders the U+0698 character before the U+0633 character, so the single
+ * // indexed Term above should NOT be returned by a ConstantScoreRangeQuery
+ * // with a Farsi Collator (or an Arabic one for the case when Farsi is not
+ * // supported).
+ * ScoreDoc[] result
+ * = is.search(aqp.parse("[ \u062F TO \u0698 ]"), null, 1000).scoreDocs;
+ * assertEquals("The index Term should not be included.", 0, result.length);
+ * </pre>
+ *
+ * <h3>Danish Sorting</h3>
+ * <pre class="prettyprint">
+ * Analyzer analyzer
+ * = new CollationKeyAnalyzer(Collator.getInstance(new Locale("da", "dk")));
+ * RAMDirectory indexStore = new RAMDirectory();
+ * IndexWriter writer = new IndexWriter(indexStore, new IndexWriterConfig(analyzer));
+ * String[] tracer = new String[] { "A", "B", "C", "D", "E" };
+ * String[] data = new String[] { "HAT", "HUT", "H\u00C5T", "H\u00D8T", "HOT" };
+ * String[] sortedTracerOrder = new String[] { "A", "E", "B", "D", "C" };
+ * for (int i = 0 ; i < data.length ; ++i) {
+ * Document doc = new Document();
+ * doc.add(new StoredField("tracer", tracer[i]));
+ * doc.add(new TextField("contents", data[i], Field.Store.NO));
+ * writer.addDocument(doc);
+ * }
+ * writer.close();
+ * IndexReader ir = DirectoryReader.open(indexStore);
+ * IndexSearcher searcher = new IndexSearcher(ir);
+ * Sort sort = new Sort();
+ * sort.setSort(new SortField("contents", SortField.STRING));
+ * Query query = new MatchAllDocsQuery();
+ * ScoreDoc[] result = searcher.search(query, null, 1000, sort).scoreDocs;
+ * for (int i = 0 ; i < result.length ; ++i) {
+ * Document doc = searcher.doc(result[i].doc);
+ * assertEquals(sortedTracerOrder[i], doc.getValues("tracer")[0]);
+ * }
+ * </pre>
+ *
+ * <h3>Turkish Case Normalization</h3>
+ * <pre class="prettyprint">
+ * Collator collator = Collator.getInstance(new Locale("tr", "TR"));
+ * collator.setStrength(Collator.PRIMARY);
+ * Analyzer analyzer = new CollationKeyAnalyzer(collator);
+ * RAMDirectory ramDir = new RAMDirectory();
+ * IndexWriter writer = new IndexWriter(ramDir, new IndexWriterConfig(analyzer));
+ * Document doc = new Document();
+ * doc.add(new TextField("contents", "DIGY", Field.Store.NO));
+ * writer.addDocument(doc);
+ * writer.close();
+ * IndexReader ir = DirectoryReader.open(ramDir);
+ * IndexSearcher is = new IndexSearcher(ir);
+ * QueryParser parser = new QueryParser("contents", analyzer);
+ * Query query = parser.parse("d\u0131gy"); // U+0131: dotless i
+ * ScoreDoc[] result = is.search(query, null, 1000).scoreDocs;
+ * assertEquals("The index Term should be included.", 1, result.length);
+ * </pre>
+ *
+ * <h2>Caveats and Comparisons</h2>
+ * <p>
+ * <strong>WARNING:</strong> Make sure you use exactly the same
+ * <code>Collator</code> at index and query time -- <code>CollationKey</code>s
+ * are only comparable when produced by
+ * the same <code>Collator</code>. Since {@link java.text.RuleBasedCollator}s
+ * are not independently versioned, it is unsafe to search against stored
+ * <code>CollationKey</code>s unless the following are exactly the same (best
+ * practice is to store this information with the index and check that they
+ * remain the same at query time):
+ * </p>
+ * <ol>
+ * <li>JVM vendor</li>
+ * <li>JVM version, including patch version</li>
+ * <li>
+ * The language (and country and variant, if specified) of the Locale
+ * used when constructing the collator via
+ * {@link java.text.Collator#getInstance(java.util.Locale)}.
+ * </li>
+ * <li>
+ * The collation strength used - see {@link java.text.Collator#setStrength(int)}
+ * </li>
+ * </ol>
+ * <p>
+ * <code>ICUCollationKeyAnalyzer</code>, available in the <a href="{@docRoot}/../analyzers-icu/overview-summary.html">icu analysis module</a>,
+ * uses ICU4J's <code>Collator</code>, which
+ * makes its version available, thus allowing collation to be versioned
+ * independently from the JVM. <code>ICUCollationKeyAnalyzer</code> is also
+ * significantly faster and generates significantly shorter keys than
+ * <code>CollationKeyAnalyzer</code>. See
+ * <a href="http://site.icu-project.org/charts/collation-icu4j-sun"
+ * >http://site.icu-project.org/charts/collation-icu4j-sun</a> for key
+ * generation timing and key length comparisons between ICU4J and
+ * <code>java.text.Collator</code> over several languages.
+ * </p>
+ * <p>
+ * <code>CollationKey</code>s generated by <code>java.text.Collator</code>s are
+ * not compatible with those those generated by ICU Collators. Specifically, if
+ * you use <code>CollationKeyAnalyzer</code> to generate index terms, do not use
+ * <code>ICUCollationKeyAnalyzer</code> on the query side, or vice versa.
+ * </p>
+ */
+package org.apache.lucene.collation;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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>
-<body>
-Custom {@link org.apache.lucene.util.AttributeImpl} for indexing collation keys as index terms.
-</body>
-</html>
\ No newline at end of file
+/**
+ * Custom {@link org.apache.lucene.util.AttributeImpl} for indexing collation keys as index terms.
+ */
+package org.apache.lucene.collation.tokenattributes;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/ext/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Autogenerated snowball stemmer implementations.
-</body>
-</html>
+/**
+ * Autogenerated snowball stemmer implementations.
+ */
+package org.tartarus.snowball.ext;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Snowball stemmer API.
-</body>
-</html>
+/**
+ * Snowball stemmer API
+ */
+package org.tartarus.snowball;
Copied: lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package-info.java (from r1658039, lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package-info.java?p2=lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package-info.java&p1=lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package.html&r1=1658039&r2=1658082&rev=1658082&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/package-info.java Sat Feb 7 17:30:22 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- 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
+/*
+ * 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.
+ */
- 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></head>
-<body>
-Analysis components based on ICU
-</body>
-</html>
+/**
+ * Analysis components based on ICU
+ */
+package org.apache.lucene.analysis.icu;