You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/04/09 23:44:53 UTC
[lucy-commits] svn commit: r1090693 [1/3] - in /incubator/lucy/trunk:
charmonizer/src/Charmonizer/ charmonizer/src/Charmonizer/Core/
charmonizer/src/Charmonizer/Probe/ charmonizer/src/Charmonizer/Test/
clownfish/lib/Clownfish/ clownfish/src/ clownfish/t/ core/Lucy/An...
Author: marvin
Date: Sat Apr 9 21:44:48 2011
New Revision: 1090693
URL: http://svn.apache.org/viewvc?rev=1090693&view=rev
Log:
Remove trailing whitespace from C89-style comments.
Modified:
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/ConfWriter.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Stat.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Util.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/AtomicOps.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/DirManip.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Floats.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/FuncMacro.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.c
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.c
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Memory.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/UnusedVars.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/VariadicMacros.h
incubator/lucy/trunk/charmonizer/src/Charmonizer/Test/AllTests.h
incubator/lucy/trunk/clownfish/lib/Clownfish/DocuComment.pm
incubator/lucy/trunk/clownfish/src/CFCBase.h
incubator/lucy/trunk/clownfish/src/CFCMethod.h
incubator/lucy/trunk/clownfish/src/CFCUtil.h
incubator/lucy/trunk/clownfish/t/050-docucomment.t
incubator/lucy/trunk/clownfish/t/400-class.t
incubator/lucy/trunk/core/Lucy/Analysis/Analyzer.cfh
incubator/lucy/trunk/core/Lucy/Analysis/Inversion.cfh
incubator/lucy/trunk/core/Lucy/Analysis/PolyAnalyzer.cfh
incubator/lucy/trunk/core/Lucy/Analysis/RegexTokenizer.cfh
incubator/lucy/trunk/core/Lucy/Analysis/SnowballStemmer.cfh
incubator/lucy/trunk/core/Lucy/Analysis/SnowballStopFilter.cfh
incubator/lucy/trunk/core/Lucy/Analysis/Token.cfh
incubator/lucy/trunk/core/Lucy/Docs/DevGuide.cfh
incubator/lucy/trunk/core/Lucy/Docs/FileLocking.cfh
incubator/lucy/trunk/core/Lucy/Document/Doc.cfh
incubator/lucy/trunk/core/Lucy/Document/HitDoc.cfh
incubator/lucy/trunk/core/Lucy/Highlight/HeatMap.cfh
incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.cfh
incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.cfh
incubator/lucy/trunk/core/Lucy/Index/DataReader.cfh
incubator/lucy/trunk/core/Lucy/Index/DataWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/DeletionsWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/DocReader.cfh
incubator/lucy/trunk/core/Lucy/Index/DocWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/IndexManager.cfh
incubator/lucy/trunk/core/Lucy/Index/IndexReader.cfh
incubator/lucy/trunk/core/Lucy/Index/Indexer.cfh
incubator/lucy/trunk/core/Lucy/Index/Inverter.cfh
incubator/lucy/trunk/core/Lucy/Index/LexIndex.c
incubator/lucy/trunk/core/Lucy/Index/Lexicon.cfh
incubator/lucy/trunk/core/Lucy/Index/LexiconReader.cfh
incubator/lucy/trunk/core/Lucy/Index/LexiconWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.cfh
incubator/lucy/trunk/core/Lucy/Index/PolyReader.cfh
incubator/lucy/trunk/core/Lucy/Index/Posting.cfh
incubator/lucy/trunk/core/Lucy/Index/Posting/MatchPosting.cfh
incubator/lucy/trunk/core/Lucy/Index/Posting/RawPosting.cfh
incubator/lucy/trunk/core/Lucy/Index/Posting/RichPosting.cfh
incubator/lucy/trunk/core/Lucy/Index/Posting/ScorePosting.cfh
incubator/lucy/trunk/core/Lucy/Index/PostingList.cfh
incubator/lucy/trunk/core/Lucy/Index/PostingListReader.cfh
incubator/lucy/trunk/core/Lucy/Index/PostingListWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/PostingPool.cfh
incubator/lucy/trunk/core/Lucy/Index/RawLexicon.cfh
incubator/lucy/trunk/core/Lucy/Index/SegLexicon.cfh
incubator/lucy/trunk/core/Lucy/Index/SegPostingList.c
incubator/lucy/trunk/core/Lucy/Index/SegReader.cfh
incubator/lucy/trunk/core/Lucy/Index/SegWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/Segment.cfh
incubator/lucy/trunk/core/Lucy/Index/Similarity.cfh
incubator/lucy/trunk/core/Lucy/Index/Snapshot.cfh
incubator/lucy/trunk/core/Lucy/Index/SortCache.cfh
incubator/lucy/trunk/core/Lucy/Index/SortWriter.cfh
incubator/lucy/trunk/core/Lucy/Index/TermInfo.cfh
incubator/lucy/trunk/core/Lucy/Object/BitVector.cfh
incubator/lucy/trunk/core/Lucy/Object/ByteBuf.cfh
incubator/lucy/trunk/core/Lucy/Object/CharBuf.cfh
incubator/lucy/trunk/core/Lucy/Object/Err.cfh
incubator/lucy/trunk/core/Lucy/Object/Hash.cfh
incubator/lucy/trunk/core/Lucy/Object/Host.cfh
incubator/lucy/trunk/core/Lucy/Object/Num.cfh
incubator/lucy/trunk/core/Lucy/Object/Obj.cfh
incubator/lucy/trunk/core/Lucy/Object/VArray.cfh
incubator/lucy/trunk/core/Lucy/Object/VTable.c
incubator/lucy/trunk/core/Lucy/Object/VTable.cfh
incubator/lucy/trunk/core/Lucy/Plan/BlobType.cfh
incubator/lucy/trunk/core/Lucy/Plan/FieldType.cfh
incubator/lucy/trunk/core/Lucy/Plan/FullTextType.cfh
incubator/lucy/trunk/core/Lucy/Plan/NumericType.cfh
incubator/lucy/trunk/core/Lucy/Plan/Schema.cfh
incubator/lucy/trunk/core/Lucy/Plan/StringType.cfh
incubator/lucy/trunk/core/Lucy/Plan/TextType.cfh
incubator/lucy/trunk/core/Lucy/Search/Collector.cfh
incubator/lucy/trunk/core/Lucy/Search/Collector/SortCollector.c
incubator/lucy/trunk/core/Lucy/Search/Collector/SortCollector.cfh
incubator/lucy/trunk/core/Lucy/Search/Compiler.cfh
incubator/lucy/trunk/core/Lucy/Search/HitQueue.cfh
incubator/lucy/trunk/core/Lucy/Search/IndexSearcher.cfh
incubator/lucy/trunk/core/Lucy/Search/Matcher.cfh
incubator/lucy/trunk/core/Lucy/Search/NOTQuery.cfh
incubator/lucy/trunk/core/Lucy/Search/ORMatcher.cfh
incubator/lucy/trunk/core/Lucy/Search/PhraseMatcher.c
incubator/lucy/trunk/core/Lucy/Search/PhraseMatcher.cfh
incubator/lucy/trunk/core/Lucy/Search/PhraseQuery.cfh
incubator/lucy/trunk/core/Lucy/Search/Query.cfh
incubator/lucy/trunk/core/Lucy/Search/QueryParser.cfh
incubator/lucy/trunk/core/Lucy/Search/RangeQuery.cfh
incubator/lucy/trunk/core/Lucy/Search/RequiredOptionalQuery.cfh
incubator/lucy/trunk/core/Lucy/Search/Searcher.cfh
incubator/lucy/trunk/core/Lucy/Search/SortRule.cfh
incubator/lucy/trunk/core/Lucy/Search/SortSpec.cfh
incubator/lucy/trunk/core/Lucy/Search/Span.cfh
incubator/lucy/trunk/core/Lucy/Search/TermMatcher.cfh
incubator/lucy/trunk/core/Lucy/Search/TermQuery.c
incubator/lucy/trunk/core/Lucy/Search/TermQuery.cfh
incubator/lucy/trunk/core/Lucy/Search/TopDocs.cfh
incubator/lucy/trunk/core/Lucy/Store/CompoundFileReader.cfh
incubator/lucy/trunk/core/Lucy/Store/CompoundFileWriter.cfh
incubator/lucy/trunk/core/Lucy/Store/DirHandle.cfh
incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.cfh
incubator/lucy/trunk/core/Lucy/Store/FileHandle.cfh
incubator/lucy/trunk/core/Lucy/Store/Folder.cfh
incubator/lucy/trunk/core/Lucy/Store/InStream.cfh
incubator/lucy/trunk/core/Lucy/Store/Lock.cfh
incubator/lucy/trunk/core/Lucy/Store/LockFactory.cfh
incubator/lucy/trunk/core/Lucy/Store/OutStream.cfh
incubator/lucy/trunk/core/Lucy/Store/RAMFileHandle.cfh
incubator/lucy/trunk/core/Lucy/Store/RAMFolder.cfh
incubator/lucy/trunk/core/Lucy/Store/SharedLock.cfh
incubator/lucy/trunk/core/Lucy/Test/Object/TestLockFreeRegistry.cfh
incubator/lucy/trunk/core/Lucy/Test/Plan/TestArchitecture.cfh
incubator/lucy/trunk/core/Lucy/Test/Search/TestQueryParser.cfh
incubator/lucy/trunk/core/Lucy/Test/Store/MockFileHandle.cfh
incubator/lucy/trunk/core/Lucy/Test/TestSchema.cfh
incubator/lucy/trunk/core/Lucy/Test/TestUtils.cfh
incubator/lucy/trunk/core/Lucy/Util/Debug.cfh
incubator/lucy/trunk/core/Lucy/Util/IndexFileNames.cfh
incubator/lucy/trunk/core/Lucy/Util/Json.cfh
incubator/lucy/trunk/core/Lucy/Util/Memory.cfh
incubator/lucy/trunk/core/Lucy/Util/MemoryPool.cfh
incubator/lucy/trunk/core/Lucy/Util/NumberUtils.cfh
incubator/lucy/trunk/core/Lucy/Util/PriorityQueue.cfh
incubator/lucy/trunk/core/Lucy/Util/Sleep.cfh
incubator/lucy/trunk/core/Lucy/Util/SortExternal.cfh
incubator/lucy/trunk/core/Lucy/Util/SortUtils.c
incubator/lucy/trunk/core/Lucy/Util/SortUtils.cfh
incubator/lucy/trunk/core/Lucy/Util/Stepper.cfh
incubator/lucy/trunk/core/Lucy/Util/StringHelper.cfh
incubator/lucy/trunk/core/Lucy/Util/StringHelper2.c
incubator/lucy/trunk/core/Lucy/Util/StringHelper3.c
incubator/lucy/trunk/core/LucyX/Search/ProximityMatcher.c
incubator/lucy/trunk/core/LucyX/Search/ProximityMatcher.cfh
incubator/lucy/trunk/core/LucyX/Search/ProximityQuery.cfh
incubator/lucy/trunk/devel/benchmarks/indexers/LuceneIndexer.java
incubator/lucy/trunk/modules/analysis/snowstop/devel/update_snowstop.pl
incubator/lucy/trunk/modules/analysis/snowstop/source/snowball_stoplists.c
incubator/lucy/trunk/perl/xs/XSBind.h
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.h Sat Apr 9 21:44:48 2011
@@ -47,9 +47,9 @@ chaz_CC_compile_obj(const char *source_p
chaz_bool_t
chaz_CC_test_compile(char *source, size_t source_len);
-/* Attempt to compile the supplied source code. If successful, capture the
+/* Attempt to compile the supplied source code. If successful, capture the
* output of the program and return a pointer to a newly allocated buffer.
- * If the compilation fails, return NULL. The length of the captured
+ * If the compilation fails, return NULL. The length of the captured
* output will be placed into the integer pointed to by [output_len].
*/
char*
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/ConfWriter.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/ConfWriter.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/ConfWriter.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/ConfWriter.h Sat Apr 9 21:44:48 2011
@@ -28,7 +28,7 @@ extern "C" {
#include <stddef.h>
#include "Charmonizer/Core/Defines.h"
-/* Initialize elements needed by ConfWriter. Must be called before anything
+/* Initialize elements needed by ConfWriter. Must be called before anything
* else, but after os and compiler are initialized.
*/
void
@@ -40,7 +40,7 @@ chaz_ConfWriter_init();
void
chaz_ConfWriter_open_charmony_h(const char *charmony_start);
-/* Return the config file's file handle.
+/* Return the config file's file handle.
*/
FILE*
chaz_ConfWriter_get_charmony_fh(void);
@@ -81,7 +81,7 @@ chaz_ConfWriter_shorten_typedef(const ch
void
chaz_ConfWriter_shorten_function(const char *symbol);
-/* Print a "chapter heading" comment in the conf file when starting a module.
+/* Print a "chapter heading" comment in the conf file when starting a module.
*/
void
chaz_ConfWriter_start_module(const char *module_name);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c Sat Apr 9 21:44:48 2011
@@ -126,7 +126,7 @@ static char charm_run_code[] =
QUOTE( size_t command_len = 1; /* Terminating null. */ )
QUOTE( int i; )
QUOTE( int retval; )
- /* Rebuild command line args. */
+ /* Rebuild command line args. */
QUOTE( for (i = 1; i < argc; i++) { )
QUOTE( command_len += strlen(argv[i]) + 1; )
QUOTE( } )
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.h Sat Apr 9 21:44:48 2011
@@ -58,7 +58,7 @@ chaz_OS_exe_ext(void);
const char*
chaz_OS_obj_ext(void);
-/* Return the equivalent of /dev/null on this system.
+/* Return the equivalent of /dev/null on this system.
*/
const char*
chaz_OS_dev_null(void);
@@ -68,7 +68,7 @@ chaz_OS_dev_null(void);
void
chaz_OS_init(void);
-/* Tear down the Charmonizer/Core/OperatingSystem module.
+/* Tear down the Charmonizer/Core/OperatingSystem module.
*/
void
chaz_OS_clean_up(void);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Stat.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Stat.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Stat.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Stat.h Sat Apr 9 21:44:48 2011
@@ -22,7 +22,7 @@
*
* Since we don't know whether we have 64-bit integers when Charmonizer itself
* gets compiled, the items in the stat structure are whatever size longs are.
- *
+ *
* TODO: probe for which fields are available.
*/
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Util.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Util.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Util.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Util.h Sat Apr 9 21:44:48 2011
@@ -64,7 +64,7 @@ chaz_Util_warn(const char *format, ...);
/* Attept to delete a file. Don't error if the file wasn't there to begin
* with. Return 1 if it seems like the file is gone because an attempt to
* open it for reading fails (this doesn't guarantee that the file is gone,
- * but it works well enough for our purposes). Return 0 if we can still
+ * but it works well enough for our purposes). Return 0 if we can still
* read the file.
*/
int
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe.h Sat Apr 9 21:44:48 2011
@@ -26,7 +26,7 @@ extern "C" {
/* Set up the Charmonizer environment. This should be called before anything
* else.
- *
+ *
* @param cc_command the string used to invoke the C compiler via system()
* @param cc_flags flags which will be passed on to the C compiler
* @param charmony_start Code to prepend onto the front of charmony.h
@@ -41,7 +41,7 @@ chaz_Probe_init(const char *cc_command,
void
chaz_Probe_clean_up();
-/* Determine how much feedback Charmonizer provides.
+/* Determine how much feedback Charmonizer provides.
* 0 - silent
* 1 - normal
* 2 - debugging
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/AtomicOps.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/AtomicOps.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/AtomicOps.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/AtomicOps.h Sat Apr 9 21:44:48 2011
@@ -30,7 +30,7 @@ extern "C" {
*
* These following symbols will be defined if the associated headers are
* available:
- *
+ *
* HAS_LIBKERN_OSATOMIC_H <libkern/OSAtomic.h> (Mac OS X)
* HAS_SYS_ATOMIC_H <sys/atomic.h> (Solaris)
* HAS_INTRIN_H <intrin.h> (Windows)
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/DirManip.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/DirManip.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/DirManip.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/DirManip.h Sat Apr 9 21:44:48 2011
@@ -33,23 +33,23 @@ extern "C" {
* HAS_DIRECT_H
*
* Defined if struct dirent has these members.
- *
+ *
* HAS_DIRENT_D_NAMLEN
* HAS_DIRENT_D_TYPE
*
* The "makedir" macro will be aliased to the POSIX-specified two-argument
- * "mkdir" interface:
- *
- * makedir
+ * "mkdir" interface:
+ *
+ * makedir
*
* On some systems, the second argument to makedir will be ignored, in which
* case this symbol will be true; otherwise, it will be false: (TODO: This
* isn't verified and may sometimes be incorrect.)
- *
+ *
* MAKEDIR_MODE_IGNORED
*
* String representing the system's directory separator:
- *
+ *
* DIR_SEP
*
* True if the remove() function removes directories, false otherwise:
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Floats.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Floats.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Floats.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Floats.h Sat Apr 9 21:44:48 2011
@@ -15,23 +15,23 @@
*/
/* Charmonizer/Probe/Floats.h -- floating point types.
- *
+ *
* The following symbols will be created if the platform supports IEEE 754
* floating point types:
- *
+ *
* F32_NAN
* F32_INF
* F32_NEGINF
*
* The following typedefs will be created if the platform supports IEEE 754
* floating point types:
- *
+ *
* f32_t
* f64_t
*
* Availability of the preceding typedefs is indicated by which of these are
* defined:
- *
+ *
* HAS_F32_T
* HAS_F64_T
*
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/FuncMacro.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/FuncMacro.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/FuncMacro.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/FuncMacro.h Sat Apr 9 21:44:48 2011
@@ -27,24 +27,24 @@ extern "C" {
#include <stdio.h>
/* Run the FuncMacro module.
- *
+ *
* If __func__ successfully resolves, this will be defined:
*
* HAS_ISO_FUNC_MACRO
- *
+ *
* If __FUNCTION__ successfully resolves, this will be defined:
- *
+ *
* HAS_GNUC_FUNC_MACRO
- *
+ *
* If one or the other succeeds, these will be defined:
- *
+ *
* HAS_FUNC_MACRO
* FUNC_MACRO
- *
+ *
* The "inline" keyword will also be probed for. If it is available, the
* following macro will be defined to "inline", otherwise it will be defined
* to nothing.
- *
+ *
* INLINE
*/
void chaz_FuncMacro_run(void);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.c?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.c Sat Apr 9 21:44:48 2011
@@ -39,7 +39,7 @@ S_keep(const char *header_name);
static size_t aff_buf_size = 0;
static char *aff_buf = NULL;
-/* Transform "header.h" into "CHY_HAS_HEADER_H, storing the result in
+/* Transform "header.h" into "CHY_HAS_HEADER_H, storing the result in
* [aff_buf].
*/
static void
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Headers.h Sat Apr 9 21:44:48 2011
@@ -33,18 +33,18 @@ chaz_bool_t
chaz_Headers_check(const char *header_name);
/* Run the Headers module.
- *
- * Exported symbols:
- *
+ *
+ * Exported symbols:
+ *
* If HAS_C89 is declared, this system has all the header files described in
* Ansi C 1989. HAS_C90 is a synonym. (It would be surprising if they are
- * not defined, because Charmonizer itself assumes C89.)
+ * not defined, because Charmonizer itself assumes C89.)
*
* HAS_C89
* HAS_C90
- *
+ *
* One symbol is exported for each C89 header file:
- *
+ *
* HAS_ASSERT_H
* HAS_CTYPE_H
* HAS_ERRNO_H
@@ -60,12 +60,12 @@ chaz_Headers_check(const char *header_na
* HAS_STDLIB_H
* HAS_STRING_H
* HAS_TIME_H
- *
+ *
* One symbol is exported for every POSIX header present, and HAS_POSIX is
* exported if they're all there.
*
* HAS_POSIX
- *
+ *
* HAS_CPIO_H
* HAS_DIRENT_H
* HAS_FCNTL_H
@@ -82,7 +82,7 @@ chaz_Headers_check(const char *header_na
* HAS_UTIME_H
*
* If pthread.h is available, this will be exported:
- *
+ *
* HAS_PTHREAD_H
*/
void
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.h Sat Apr 9 21:44:48 2011
@@ -18,12 +18,12 @@
*
* One or the other of these will be defined, depending on whether the
* processor is big-endian or little-endian.
- *
+ *
* BIG_END
* LITTLE_END
- *
+ *
* These will always be defined:
- *
+ *
* SIZEOF_CHAR
* SIZEOF_SHORT
* SIZEOF_INT
@@ -31,10 +31,10 @@
* SIZEOF_PTR
*
* If long longs are available these symbols will be defined:
- *
+ *
* HAS_LONG_LONG
- * SIZEOF_LONG_LONG
- *
+ * SIZEOF_LONG_LONG
+ *
* Similarly, with the __int64 type (the sizeof is included for completeness):
*
* HAS___INT64
@@ -42,7 +42,7 @@
*
* If the inttypes.h or stdint.h header files are available, these may be
* defined:
- *
+ *
* HAS_INTTYPES_H
* HAS_STDINT_H
*
@@ -57,12 +57,12 @@
* uint16_t
* uint32_t
* uint64_t
- *
+ *
* The following typedefs will be created if a suitable integer type exists,
* as will most often be the case. However, if for example a char is 64 bits
* (as on certain Crays), no 8-bit types will be defined, or if no 64-bit
* integer type is available, no 64-bit types will be defined, etc.
- *
+ *
* bool_t
* i8_t
* u8_t
@@ -72,18 +72,18 @@
* u32_t
* i64_t
* u64_t
- *
+ *
* Availability of the preceding integer typedefs is indicated by which of
* these are defined:
- *
+ *
* HAS_I8_T
* HAS_I16_T
* HAS_I32_T
* HAS_I64_T
- *
+ *
* Maximums will be defined for all available integer types (save bool_t), and
* minimums for all available signed types.
- *
+ *
* I8_MAX
* U8_MAX
* I16_MAX
@@ -99,7 +99,7 @@
*
* If 64-bit integers are available, this macro will promote pointers to i64_t
* safely.
- *
+ *
* PTR_TO_I64(ptr)
*
* If 64-bit integers are available, these macros will expand to the printf
@@ -111,14 +111,14 @@
*
* 32-bit and 64-bit literals can be spec'd via these macros, which append the
* appropriate postfix:
- *
+ *
* I32_C(n)
* U32_C(n)
* I64_C(n)
* U64_C(n)
*
- * These symbols will be defined if they are not already:
- *
+ * These symbols will be defined if they are not already:
+ *
* true
* false
*/
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.c?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.c Sat Apr 9 21:44:48 2011
@@ -62,12 +62,12 @@ static unbuff_combo unbuff_combos[] = {
static chaz_bool_t
S_probe_off64(off64_combo *combo);
-/* Check for a 64-bit lseek.
+/* Check for a 64-bit lseek.
*/
static chaz_bool_t
S_probe_lseek(unbuff_combo *combo);
-/* Check for a 64-bit pread.
+/* Check for a 64-bit pread.
*/
static chaz_bool_t
S_probe_pread64(unbuff_combo *combo);
@@ -77,7 +77,7 @@ S_probe_pread64(unbuff_combo *combo);
static chaz_bool_t
S_check_sparse_files();
-/* Helper for check_sparse_files().
+/* Helper for check_sparse_files().
*/
static void
S_test_sparse_file(long offset, Stat *st);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/LargeFiles.h Sat Apr 9 21:44:48 2011
@@ -28,21 +28,21 @@ extern "C" {
/* The LargeFiles module attempts to detect these symbols or alias them to
* synonyms:
- *
+ *
* off64_t
* fopen64
* ftello64
* fseeko64
- *
+ *
* If the attempt succeeds, this will be defined:
- *
+ *
* HAS_LARGE_FILE_SUPPORT
*
* Additionally, 64-bit versions of lseek and pread may be detected/aliased:
*
* lseek64
* pread64
- *
+ *
* Use of the off64_t symbol may require sys/types.h.
*/
void chaz_LargeFiles_run(void);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Memory.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Memory.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Memory.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/Memory.h Sat Apr 9 21:44:48 2011
@@ -26,14 +26,14 @@ extern "C" {
/* The Memory module attempts to detect these symbols or alias them to
* synonyms:
- *
+ *
* alloca
*
* These following symbols will be defined if the associated headers are
* available:
- *
+ *
* HAS_SYS_MMAN_H <sys/mman.h>
- * HAS_ALLOCA_H <alloca.h>
+ * HAS_ALLOCA_H <alloca.h>
* HAS_MALLOC_H <malloc.h>
*
* Defined if alloca() is available via stdlib.h:
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/UnusedVars.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/UnusedVars.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/UnusedVars.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/UnusedVars.h Sat Apr 9 21:44:48 2011
@@ -29,10 +29,10 @@ extern "C" {
/* Run the UnusedVars module.
*
* These symbols are exported:
- *
+ *
* UNUSED_VAR(var)
* UNREACHABLE_RETURN(type)
- *
+ *
*/
void chaz_UnusedVars_run(void);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/VariadicMacros.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/VariadicMacros.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/VariadicMacros.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Probe/VariadicMacros.h Sat Apr 9 21:44:48 2011
@@ -29,15 +29,15 @@ extern "C" {
/* Run the VariadicMacros module.
*
* If your compiler supports ISO-style variadic macros, this will be defined:
- *
+ *
* HAS_ISO_VARIADIC_MACROS
- *
+ *
* If your compiler supports GNU-style variadic macros, this will be defined:
- *
+ *
* HAS_GNUC_VARIADIC_MACROS
- *
+ *
* If you have at least one of the above, this will be defined:
- *
+ *
* HAS_VARIADIC_MACROS
*/
void chaz_VariadicMacros_run(void);
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Test/AllTests.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Test/AllTests.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Test/AllTests.h (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Test/AllTests.h Sat Apr 9 21:44:48 2011
@@ -37,7 +37,7 @@ void
chaz_AllTests_run();
/* These tests all require the file charmony.h.
- *
+ *
* Since Charmonizer conditionally defines many symbols, it can be difficult
* to tell whether a symbol is missing because it should not have been
* generated, or whether it is missing because an error occurred. These test
Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/DocuComment.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/DocuComment.pm?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/DocuComment.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/DocuComment.pm Sat Apr 9 21:44:48 2011
@@ -35,7 +35,7 @@ Clownfish::DocuComment - Formatted comme
/** Brief description.
*
* Start the long description. More long description.
- *
+ *
* @param foo A Foo.
* @param bar A Bar.
* @return a return value.
Modified: incubator/lucy/trunk/clownfish/src/CFCBase.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCBase.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCBase.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCBase.h Sat Apr 9 21:44:48 2011
@@ -44,14 +44,14 @@ void
CFCBase_destroy(CFCBase *self);
/** Increment the refcount of the object.
- *
+ *
* @return the object itself, allowing an assignment idiom.
*/
CFCBase*
CFCBase_incref(CFCBase *self);
/** Decrement the refcount of the object.
- *
+ *
* @return the modified refcount.
*/
unsigned
Modified: incubator/lucy/trunk/clownfish/src/CFCMethod.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCMethod.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCMethod.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCMethod.h Sat Apr 9 21:44:48 2011
@@ -55,21 +55,21 @@ CFCMethod_override(CFCMethod *self, CFCM
CFCMethod*
CFCMethod_finalize(CFCMethod *self);
-/**
+/**
* @return the number of bytes which the symbol would occupy.
*/
size_t
CFCMethod_short_method_sym(CFCMethod *self, const char *invoker, char *buf,
size_t buf_size);
-/**
+/**
* @return the number of bytes which the symbol would occupy.
*/
size_t
CFCMethod_full_method_sym(CFCMethod *self, const char *invoker, char *buf,
size_t buf_size);
-/**
+/**
* @return the number of bytes which the symbol would occupy.
*/
size_t
Modified: incubator/lucy/trunk/clownfish/src/CFCUtil.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCUtil.h?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCUtil.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCUtil.h Sat Apr 9 21:44:48 2011
@@ -61,7 +61,7 @@ CFCUtil_wrapped_malloc(size_t count, con
void*
CFCUtil_wrapped_calloc(size_t count, size_t size, const char *file, int line);
-/** Attempt to allocate memory with realloc, but print an error and exit if
+/** Attempt to allocate memory with realloc, but print an error and exit if
* the call fails.
*/
void*
Modified: incubator/lucy/trunk/clownfish/t/050-docucomment.t
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/t/050-docucomment.t?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/t/050-docucomment.t (original)
+++ incubator/lucy/trunk/clownfish/t/050-docucomment.t Sat Apr 9 21:44:48 2011
@@ -25,11 +25,11 @@ my $parser = Clownfish::Parser->new;
isa_ok( $parser->docucomment('/** foo. */'), "Clownfish::DocuComment" );
my $text = <<'END_COMMENT';
-/**
- * Brief description. Long description.
- *
+/**
+ * Brief description. Long description.
+ *
* More long description.
- *
+ *
* @param foo A foo.
* @param bar A bar.
*
Modified: incubator/lucy/trunk/clownfish/t/400-class.t
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/t/400-class.t?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/t/400-class.t (original)
+++ incubator/lucy/trunk/clownfish/t/400-class.t Sat Apr 9 21:44:48 2011
@@ -152,7 +152,7 @@ ok( ( scalar grep { $_->micro_sym eq 'nu
"parsed private member var" );
$class_content = q|
- /**
+ /**
* Bow wow.
*
* Wow wow wow.
@@ -222,7 +222,7 @@ ok( $class->inert, "inert modifier parse
$class_content = qq|
final class Ultimo {
- /** Throws an error.
+ /** Throws an error.
*/
void Say_Never(Ultimo *self);
}|;
Modified: incubator/lucy/trunk/core/Lucy/Analysis/Analyzer.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/Analyzer.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/Analyzer.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/Analyzer.cfh Sat Apr 9 21:44:48 2011
@@ -45,7 +45,7 @@ abstract class Lucy::Analysis::Analyzer
public incremented Inversion*
Transform_Text(Analyzer *self, CharBuf *text);
- /** Analyze text and return an array of token texts.
+ /** Analyze text and return an array of token texts.
*/
public incremented VArray*
Split(Analyzer *self, CharBuf *text);
Modified: incubator/lucy/trunk/core/Lucy/Analysis/Inversion.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/Inversion.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/Inversion.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/Inversion.cfh Sat Apr 9 21:44:48 2011
@@ -16,11 +16,11 @@
parcel Lucy;
-/**
+/**
* A collection of Tokens.
*
* An Inversion is a collection of Token objects which you can add to, then
- * iterate over.
+ * iterate over.
*/
class Lucy::Analysis::Inversion inherits Lucy::Object::Obj {
@@ -32,7 +32,7 @@ class Lucy::Analysis::Inversion inherits
uint32_t *cluster_counts; /* counts per unique text */
uint32_t cluster_counts_size; /* num unique texts */
- /**
+ /**
* @param seed An initial Token to start things off, which may be NULL.
*/
inert incremented Inversion*
Modified: incubator/lucy/trunk/core/Lucy/Analysis/PolyAnalyzer.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/PolyAnalyzer.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/PolyAnalyzer.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/PolyAnalyzer.cfh Sat Apr 9 21:44:48 2011
@@ -24,10 +24,10 @@ parcel Lucy;
* language, in which case a PolyAnalyzer consisting of a
* L<CaseFolder|Lucy::Analysis::CaseFolder>, a
* L<RegexTokenizer|Lucy::Analysis::RegexTokenizer>, and a
- * L<SnowballStemmer|Lucy::Analysis::SnowballStemmer> will be generated for you.
- *
+ * L<SnowballStemmer|Lucy::Analysis::SnowballStemmer> will be generated for you.
+ *
* Supported languages:
- *
+ *
* en => English,
* da => Danish,
* de => German,
@@ -43,7 +43,7 @@ parcel Lucy;
* ru => Russian,
* sv => Swedish,
* tr => Turkish,
- */
+ */
class Lucy::Analysis::PolyAnalyzer
inherits Lucy::Analysis::Analyzer : dumpable {
@@ -52,20 +52,20 @@ class Lucy::Analysis::PolyAnalyzer
inert incremented PolyAnalyzer*
new(const CharBuf *language = NULL, VArray *analyzers = NULL);
- /**
+ /**
* @param language An ISO code from the list of supported languages.
* @param analyzers An array of Analyzers. The order of the analyzers
* matters. Don't put a SnowballStemmer before a RegexTokenizer (can't stem whole
* documents or paragraphs -- just individual words), or a SnowballStopFilter
* after a SnowballStemmer (stemmed words, e.g. "themselv", will not appear in a
* stoplist). In general, the sequence should be: normalize, tokenize,
- * stopalize, stem.
+ * stopalize, stem.
*/
public inert PolyAnalyzer*
init(PolyAnalyzer *self, const CharBuf *language = NULL,
VArray *analyzers = NULL);
- /** Getter for "analyzers" member.
+ /** Getter for "analyzers" member.
*/
public VArray*
Get_Analyzers(PolyAnalyzer *self);
Modified: incubator/lucy/trunk/core/Lucy/Analysis/RegexTokenizer.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/RegexTokenizer.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/RegexTokenizer.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/RegexTokenizer.cfh Sat Apr 9 21:44:48 2011
@@ -17,31 +17,31 @@
parcel Lucy;
/** Split a string into tokens.
- *
+ *
* Generically, "tokenizing" is a process of breaking up a string into an
* array of "tokens". For instance, the string "three blind mice" might be
* tokenized into "three", "blind", "mice".
- *
+ *
* Lucy::Analysis::RegexTokenizer decides where it should break up the text
* based on a regular expression compiled from a supplied <code>pattern</code>
* matching one token. If our source string is...
- *
+ *
* "Eats, Shoots and Leaves."
- *
+ *
* ... then a "whitespace tokenizer" with a <code>pattern</code> of
* <code>"\\S+"</code> produces...
- *
- * Eats,
- * Shoots
- * and
+ *
+ * Eats,
+ * Shoots
+ * and
* Leaves.
- *
+ *
* ... while a "word character tokenizer" with a <code>pattern</code> of
* <code>"\\w+"</code> produces...
- *
- * Eats
- * Shoots
- * and
+ *
+ * Eats
+ * Shoots
+ * and
* Leaves
*
* ... the difference being that the word character tokenizer skips over
Modified: incubator/lucy/trunk/core/Lucy/Analysis/SnowballStemmer.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/SnowballStemmer.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/SnowballStemmer.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/SnowballStemmer.cfh Sat Apr 9 21:44:48 2011
@@ -17,13 +17,13 @@
parcel Lucy;
/** Reduce related words to a shared root.
- *
+ *
* SnowballStemmer is an L<Analyzer|Lucy::Analysis::Analyzer> which reduces
* related words to a root form (using the "Snowball" stemming library). For
* instance, "horse", "horses", and "horsing" all become "hors" -- so that a
* search for 'horse' will also match documents containing 'horses' and
* 'horsing'.
- */
+ */
class Lucy::Analysis::SnowballStemmer cnick SnowStemmer
inherits Lucy::Analysis::Analyzer : dumpable {
Modified: incubator/lucy/trunk/core/Lucy/Analysis/SnowballStopFilter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/SnowballStopFilter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/SnowballStopFilter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/SnowballStopFilter.cfh Sat Apr 9 21:44:48 2011
@@ -17,15 +17,15 @@
parcel Lucy;
/** Suppress a "stoplist" of common words.
- *
+ *
* A "stoplist" is collection of "stopwords": words which are common enough to
* be of little value when determining search results. For example, so many
* documents in English contain "the", "if", and "maybe" that it may improve
* both performance and relevance to block them.
- *
+ *
* Before filtering stopwords:
- *
- * ( "i", "am", "the", "walrus" )
+ *
+ * ( "i", "am", "the", "walrus" )
*
* After filtering stopwords:
*
@@ -34,7 +34,7 @@ parcel Lucy;
* SnowballStopFilter provides default stoplists for several languages, courtesy of
* the Snowball project (<http://snowball.tartarus.org>), or you may supply
* your own.
- *
+ *
* |-----------------------|
* | ISO CODE | LANGUAGE |
* |-----------------------|
Modified: incubator/lucy/trunk/core/Lucy/Analysis/Token.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Analysis/Token.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Analysis/Token.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Analysis/Token.cfh Sat Apr 9 21:44:48 2011
@@ -21,9 +21,9 @@ parcel Lucy;
* Token is the fundamental unit used by Apache Lucy's Analyzer subclasses.
* Each Token has 5 attributes: <code>text</code>, <code>start_offset</code>,
* <code>end_offset</code>, <code>boost</code>, and <code>pos_inc</code>.
- *
+ *
* The <code>text</code> attribute is a Unicode string encoded as UTF-8.
- *
+ *
* <code>start_offset</code> is the start point of the token text, measured in
* Unicode code points from the top of the stored field;
* <code>end_offset</code> delimits the corresponding closing boundary.
@@ -34,13 +34,13 @@ parcel Lucy;
* after stemming, the text is "beat", but the start_offset is still 0 and the
* end_offset is still 7. This allows "beating" to be highlighted correctly
* after a search matches "beat".
- *
+ *
* <code>boost</code> is a per-token weight. Use this when you want to assign
* more or less importance to a particular token, as you might for emboldened
* text within an HTML document, for example. (Note: The field this token
* belongs to must be spec'd to use a posting of type
* L<Lucy::Index::Posting::RichPosting>.)
- *
+ *
* <code>pos_inc</code is the POSition INCrement, measured in Tokens. This
* attribute, which defaults to 1, is a an advanced tool for manipulating
* phrase matching. Ordinarily, Tokens are assigned consecutive position
Modified: incubator/lucy/trunk/core/Lucy/Docs/DevGuide.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Docs/DevGuide.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Docs/DevGuide.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Docs/DevGuide.cfh Sat Apr 9 21:44:48 2011
@@ -24,7 +24,7 @@ parcel Lucy;
* * Clownfish - header files.
* * C - implementation files.
* * Host - binding language.
- *
+ *
* Charmonizer is a configuration prober which writes a single header file,
* "charmony.h", describing the build environment and facilitating
* cross-platform development. It's similar to Autoconf or Metaconfig, but
@@ -41,7 +41,7 @@ parcel Lucy;
*
* Indexer_Add_Doc <-- Method, typically uses dynamic dispatch.
* Indexer_add_doc <-- Function, always a direct invocation.
- *
+ *
* The C files within the Lucy core are where most of Lucy's low-level
* functionality lies. They implement the interface defined by the Clownfish
* header files.
Modified: incubator/lucy/trunk/core/Lucy/Docs/FileLocking.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Docs/FileLocking.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Docs/FileLocking.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Docs/FileLocking.cfh Sat Apr 9 21:44:48 2011
@@ -17,12 +17,12 @@
parcel Lucy;
/** Manage indexes on shared volumes.
- *
+ *
* Normally, index locking is an invisible process. Exclusive write access is
* controlled via lockfiles within the index directory and problems only arise
* if multiple processes attempt to acquire the write lock simultaneously;
* search-time processes do not ordinarily require locking at all.
- *
+ *
* On shared volumes, however, the default locking mechanism fails, and manual
* intervention becomes necessary.
*
@@ -31,20 +31,20 @@ parcel Lucy;
* ip address. Knowing the host id makes it possible to tell which lockfiles
* belong to other machines and therefore must not be removed when the
* lockfile's pid number appears not to correspond to an active process.
- *
+ *
* At index-time, the danger is that multiple indexing processes from
* different machines which fail to specify a unique <code>host</code> id can
* delete each others' lockfiles and then attempt to modify the index at the
* same time, causing index corruption. The search-time problem is more
- * complex.
- *
+ * complex.
+ *
* Once an index file is no longer listed in the most recent snapshot, Indexer
* attempts to delete it as part of a post-Commit() cleanup routine. It is
* possible that at the moment an Indexer is deleting files which it believes
* no longer needed, a Searcher referencing an earlier snapshot is in fact
* using them. The more often that an index is either updated or searched,
* the more likely it is that this conflict will arise from time to time.
- *
+ *
* Ordinarily, the deletion attempts are not a problem. On a typical unix
* volume, the files will be deleted in name only: any process which holds an
* open filehandle against a given file will continue to have access, and the
@@ -54,11 +54,11 @@ parcel Lucy;
* deletion fails whenever any process holds an open handle, the situation is
* different but still workable: Indexer just keeps retrying after each commit
* until deletion finally succeeds.
- *
+ *
* On NFS, however, the system breaks, because NFS allows files to be deleted
* out from underneath active processes. Should this happen, the unlucky read
* process will crash with a "Stale NFS filehandle" exception.
- *
+ *
* Under normal circumstances, it is neither necessary nor desirable for
* IndexReaders to secure read locks against an index, but for NFS we have to
* make an exception. LockFactory's Make_Shared_Lock() method exists for this
@@ -66,7 +66,7 @@ parcel Lucy;
* activates an internal locking mechanism using Make_Shared_Lock() which
* prevents concurrent indexing processes from deleting files that are needed
* by active readers.
- *
+ *
* Since shared locks are implemented using lockfiles located in the index
* directory (as are exclusive locks), reader applications must have write
* access for read locking to work. Stale lock files from crashed processes
Modified: incubator/lucy/trunk/core/Lucy/Document/Doc.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Document/Doc.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Document/Doc.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Document/Doc.cfh Sat Apr 9 21:44:48 2011
@@ -17,7 +17,7 @@
parcel Lucy;
/** A document.
- *
+ *
* A Doc object is akin to a row in a database, in that it is made up of one
* or more fields, each of which has a value.
*/
@@ -31,7 +31,7 @@ public class Lucy::Document::Doc inherit
inert incremented Doc*
new(void *fields = NULL, int32_t doc_id = 0);
- /**
+ /**
* @param fields Field-value pairs.
* @param doc_id Internal Lucy document id. Default of 0 (an
* invalid doc id).
@@ -39,12 +39,12 @@ public class Lucy::Document::Doc inherit
public inert Doc*
init(Doc *self, void *fields = NULL, int32_t doc_id = 0);
- /** Set internal Lucy document id.
+ /** Set internal Lucy document id.
*/
public void
Set_Doc_ID(Doc *self, int32_t doc_id);
- /** Retrieve internal Lucy document id.
+ /** Retrieve internal Lucy document id.
*/
public int32_t
Get_Doc_ID(Doc *self);
Modified: incubator/lucy/trunk/core/Lucy/Document/HitDoc.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Document/HitDoc.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Document/HitDoc.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Document/HitDoc.cfh Sat Apr 9 21:44:48 2011
@@ -18,7 +18,7 @@ parcel Lucy;
/**
* A document read from an index.
- *
+ *
* HitDoc is the search-time relative of the index-time class Doc; it is
* augmented by a numeric score attribute that Doc doesn't have.
*/
Modified: incubator/lucy/trunk/core/Lucy/Highlight/HeatMap.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Highlight/HeatMap.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Highlight/HeatMap.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Highlight/HeatMap.cfh Sat Apr 9 21:44:48 2011
@@ -45,7 +45,7 @@ class Lucy::Highlight::HeatMap inherits
* Span 2: positions 16-30, score .5
*
* After merging, there will be three.
- *
+ *
* Span 1: positions 11-16, score .3
* Span 2: positions 16-20, score .8
* Span 3: positions 20-30, score .5
Modified: incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.cfh Sat Apr 9 21:44:48 2011
@@ -17,11 +17,11 @@
parcel Lucy;
/** Create and highlight excerpts.
- *
+ *
* The Highlighter can be used to select relevant snippets from a document,
* and to surround search terms with highlighting tags. It handles both stems
* and phrases correctly and efficiently, using special-purpose data generated
- * at index-time.
+ * at index-time.
*/
class Lucy::Highlight::Highlighter inherits Lucy::Object::Obj {
@@ -40,7 +40,7 @@ class Lucy::Highlight::Highlighter inher
uint32_t excerpt_length = 200);
/**
- * @param searcher An object which inherits from
+ * @param searcher An object which inherits from
* L<Searcher|Lucy::Search::Searcher>, such as an
* L<IndexSearcher|Lucy::Search::IndexSearcher>.
* @param query Query object or a query string.
@@ -72,7 +72,7 @@ class Lucy::Highlight::Highlighter inher
* the sentence, and is measured from 0, not from <code>offset</code>.
* The Span's "length" member indicates the sentence length in code
* points.
- *
+ *
* @param text The string to scan.
* @param offset The place to start looking for offsets, measured in
* Unicode code points from the top of <code>text</code>.
@@ -101,32 +101,32 @@ class Lucy::Highlight::Highlighter inher
public void
Set_Post_Tag(Highlighter *self, const CharBuf *post_tag);
- /** Accessor.
+ /** Accessor.
*/
public CharBuf*
Get_Pre_Tag(Highlighter *self);
- /** Accessor.
+ /** Accessor.
*/
public CharBuf*
Get_Post_Tag(Highlighter *self);
- /** Accessor.
+ /** Accessor.
*/
public CharBuf*
Get_Field(Highlighter *self);
- /** Accessor.
+ /** Accessor.
*/
public uint32_t
Get_Excerpt_Length(Highlighter *self);
- /** Accessor.
+ /** Accessor.
*/
public Searcher*
Get_Searcher(Highlighter *self);
- /** Accessor.
+ /** Accessor.
*/
public Query*
Get_Query(Highlighter *self);
@@ -159,7 +159,7 @@ class Lucy::Highlight::Highlighter inher
HeatMap *heat_map, VArray *sentences);
/** Take the text in raw_excerpt, add highlight tags, encode, and place
- * the result into <code>highlighted</code>.
+ * the result into <code>highlighted</code>.
*
* (Helper function for Create_Excerpt only exposed for testing purposes.)
*/
Modified: incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.cfh Sat Apr 9 21:44:48 2011
@@ -50,7 +50,7 @@ class Lucy::Index::BackgroundMerger cnic
public inert incremented BackgroundMerger*
new(Obj *index, IndexManager *manager = NULL);
- /** Open a new BackgroundMerger.
+ /** Open a new BackgroundMerger.
*
* @param index Either a string filepath or a Folder.
* @param manager An IndexManager. If not supplied, an IndexManager with
@@ -74,8 +74,8 @@ class Lucy::Index::BackgroundMerger cnic
Commit(BackgroundMerger *self);
/** Perform the expensive setup for Commit() in advance, so that Commit()
- * completes quickly.
- *
+ * completes quickly.
+ *
* Towards the end of Prepare_Commit(), the BackgroundMerger attempts to
* re-acquire the write lock, which is then held until Commit() finishes
* and releases it.
Modified: incubator/lucy/trunk/core/Lucy/Index/DataReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DataReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DataReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DataReader.cfh Sat Apr 9 21:44:48 2011
@@ -17,7 +17,7 @@
parcel Lucy;
/** Abstract base class for reading index data.
- *
+ *
* DataReader is the companion class to
* L<DataWriter|Lucy::Index::DataWriter>. Every index component will
* implement one of each.
@@ -49,39 +49,39 @@ class Lucy::Index::DataReader inherits L
/** Create a reader which aggregates the output of several lower level
* readers. Return NULL if such a reader is not valid.
- *
+ *
* @param readers An array of DataReaders.
* @param offsets Doc id start offsets for each reader.
*/
public abstract incremented nullable DataReader*
Aggregator(DataReader *self, VArray *readers, I32Array *offsets);
- /** Accessor for "schema" member var.
+ /** Accessor for "schema" member var.
*/
public nullable Schema*
Get_Schema(DataReader *self);
- /** Accessor for "folder" member var.
+ /** Accessor for "folder" member var.
*/
public nullable Folder*
Get_Folder(DataReader *self);
- /** Accessor for "snapshot" member var.
+ /** Accessor for "snapshot" member var.
*/
public nullable Snapshot*
Get_Snapshot(DataReader *self);
- /** Accessor for "segments" member var.
+ /** Accessor for "segments" member var.
*/
public nullable VArray*
Get_Segments(DataReader *self);
- /** Accessor for "segment" member var.
+ /** Accessor for "segment" member var.
*/
public nullable Segment*
Get_Segment(DataReader *self);
- /** Accessor for "seg_tick" member var.
+ /** Accessor for "seg_tick" member var.
*/
public int32_t
Get_Seg_Tick(DataReader *self);
Modified: incubator/lucy/trunk/core/Lucy/Index/DataWriter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DataWriter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DataWriter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DataWriter.cfh Sat Apr 9 21:44:48 2011
@@ -17,7 +17,7 @@
parcel Lucy;
/** Write data to an index.
- *
+ *
* DataWriter is an abstract base class for writing index data, generally in
* segment-sized chunks. Each component of an index -- e.g. stored fields,
* lexicon, postings, deletions -- is represented by a
@@ -57,7 +57,7 @@ public class Lucy::Index::DataWriter inh
Add_Inverted_Doc(DataWriter *self, Inverter *inverter, int32_t doc_id);
/** Add content from an existing segment into the one currently being
- * written.
+ * written.
*
* @param reader The SegReader containing content to add.
* @param doc_map An array of integers mapping old document ids to
@@ -82,7 +82,7 @@ public class Lucy::Index::DataWriter inh
/** Move content from an existing segment into the one currently being
* written.
- *
+ *
* The default implementation calls Add_Segment() then Delete_Segment().
*
* @param reader The SegReader containing content to merge, which must
@@ -114,27 +114,27 @@ public class Lucy::Index::DataWriter inh
public abstract int32_t
Format(DataWriter *self);
- /** Accessor for "snapshot" member var.
+ /** Accessor for "snapshot" member var.
*/
public Snapshot*
Get_Snapshot(DataWriter *self);
- /** Accessor for "segment" member var.
+ /** Accessor for "segment" member var.
*/
public Segment*
Get_Segment(DataWriter *self);
- /** Accessor for "polyreader" member var.
+ /** Accessor for "polyreader" member var.
*/
public PolyReader*
Get_PolyReader(DataWriter *self);
- /** Accessor for "schema" member var.
+ /** Accessor for "schema" member var.
*/
public Schema*
Get_Schema(DataWriter *self);
- /** Accessor for "folder" member var.
+ /** Accessor for "folder" member var.
*/
public Folder*
Get_Folder(DataWriter *self);
Modified: incubator/lucy/trunk/core/Lucy/Index/DeletionsWriter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DeletionsWriter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DeletionsWriter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DeletionsWriter.cfh Sat Apr 9 21:44:48 2011
@@ -20,16 +20,16 @@ parcel Lucy;
*
* Subclasses of DeletionsWriter provide a low-level mechanism for declaring a
* document deleted from an index.
- *
+ *
* Because files in an index are never modified, and because it is not
* practical to delete entire segments, a DeletionsWriter does not actually
* remove documents from the index. Instead, it communicates to a search-time
* companion DeletionsReader which documents are deleted in such a way that it
* can create a Matcher iterator.
- *
+ *
* Documents are truly deleted only when the segments which contain them are
* merged into new ones.
- */
+ */
abstract class Lucy::Index::DeletionsWriter cnick DelWriter
inherits Lucy::Index::DataWriter {
@@ -71,7 +71,7 @@ abstract class Lucy::Index::DeletionsWri
* represents the new doc id. Deleted docs are assigned the value - 0, so
* if you had 4 docs and doc 2 was deleted, the array would have the
* values... ( 1, 0, 2, 3 ).
- *
+ *
* @param offset Value which gets added to each valid document id.
* With an offset of 1000, the array in the previous example would be
* { 1001, 0, 1002, 1003 }.
@@ -82,21 +82,21 @@ abstract class Lucy::Index::DeletionsWri
/** Return a deletions iterator for the supplied SegReader, which must be
* a component within the PolyReader that was supplied at
- * construction-time.
+ * construction-time.
*/
public abstract incremented nullable Matcher*
Seg_Deletions(DeletionsWriter *self, SegReader *seg_reader);
/** Return the number of deletions for a given segment.
*
- * @param seg_name The name of the segment.
+ * @param seg_name The name of the segment.
*/
public abstract int32_t
Seg_Del_Count(DeletionsWriter *self, const CharBuf *seg_name);
}
/** Implements DeletionsWriter using BitVector files.
- */
+ */
class Lucy::Index::DefaultDeletionsWriter cnick DefDelWriter
inherits Lucy::Index::DeletionsWriter {
Modified: incubator/lucy/trunk/core/Lucy/Index/DocReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DocReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DocReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DocReader.cfh Sat Apr 9 21:44:48 2011
@@ -17,7 +17,7 @@
parcel Lucy;
/** Retrieve stored documents.
- *
+ *
* DocReader defines the interface by which documents (with all stored fields)
* are retrieved from the index. The default implementation returns
* L<HitDoc|Lucy::Document::HitDoc> objects.
@@ -30,7 +30,7 @@ class Lucy::Index::DocReader inherits Lu
int32_t seg_tick = -1);
/** Retrieve the document identified by <code>doc_id</code>.
- *
+ *
* @return a HitDoc.
*/
public abstract incremented HitDoc*
@@ -38,7 +38,7 @@ class Lucy::Index::DocReader inherits Lu
/** Returns a DocReader which divvies up requests to its sub-readers
* according to the offset range.
- *
+ *
* @param readers An array of DocReaders.
* @param offsets Doc id start offsets for each reader.
*/
@@ -46,7 +46,7 @@ class Lucy::Index::DocReader inherits Lu
Aggregator(DocReader *self, VArray *readers, I32Array *offsets);
}
-/** Aggregate multiple DocReaders.
+/** Aggregate multiple DocReaders.
*/
class Lucy::Index::PolyDocReader inherits Lucy::Index::DocReader {
Modified: incubator/lucy/trunk/core/Lucy/Index/DocWriter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DocWriter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DocWriter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DocWriter.cfh Sat Apr 9 21:44:48 2011
@@ -16,7 +16,7 @@
parcel Lucy;
-/** Default doc writer.
+/** Default doc writer.
*/
class Lucy::Index::DocWriter inherits Lucy::Index::DataWriter {
Modified: incubator/lucy/trunk/core/Lucy/Index/IndexManager.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/IndexManager.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/IndexManager.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/IndexManager.cfh Sat Apr 9 21:44:48 2011
@@ -16,8 +16,8 @@
parcel Lucy;
-/** Policies governing index updating, locking, and file deletion.
- *
+/** Policies governing index updating, locking, and file deletion.
+ *
* IndexManager is an advanced-use class for controlling index locking,
* updating, merging, and deletion behaviors.
*
@@ -75,7 +75,7 @@ class Lucy::Index::IndexManager cnick Ix
* search-time degradation due to segment proliferation. The default
* implementation prefers small segments or segments with a high
* proportion of deletions.
- *
+ *
* @param reader A PolyReader.
* @param del_writer A DeletionsWriter.
* @param cutoff A segment number which all returned SegReaders must
@@ -97,7 +97,7 @@ class Lucy::Index::IndexManager cnick Ix
Choose_Sparse(IndexManager *self, I32Array *doc_counts);
/** Create the Lock which controls access to modifying the logical content
- * of the index.
+ * of the index.
*/
public incremented Lock*
Make_Write_Lock(IndexManager *self);
@@ -151,7 +151,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Write_Lock_Timeout(IndexManager *self, uint32_t timeout);
- /** Getter for write lock timeout.
+ /** Getter for write lock timeout.
*/
public uint32_t
Get_Write_Lock_Timeout(IndexManager *self);
@@ -161,7 +161,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Write_Lock_Interval(IndexManager *self, uint32_t timeout);
- /** Getter for write lock retry interval.
+ /** Getter for write lock retry interval.
*/
public uint32_t
Get_Write_Lock_Interval(IndexManager *self);
@@ -171,7 +171,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Merge_Lock_Timeout(IndexManager *self, uint32_t timeout);
- /** Getter for merge lock timeout.
+ /** Getter for merge lock timeout.
*/
public uint32_t
Get_Merge_Lock_Timeout(IndexManager *self);
@@ -181,7 +181,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Merge_Lock_Interval(IndexManager *self, uint32_t timeout);
- /** Getter for merge lock retry interval.
+ /** Getter for merge lock retry interval.
*/
public uint32_t
Get_Merge_Lock_Interval(IndexManager *self);
@@ -191,7 +191,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Deletion_Lock_Timeout(IndexManager *self, uint32_t timeout);
- /** Getter for deletion lock timeout.
+ /** Getter for deletion lock timeout.
*/
public uint32_t
Get_Deletion_Lock_Timeout(IndexManager *self);
@@ -201,7 +201,7 @@ class Lucy::Index::IndexManager cnick Ix
public void
Set_Deletion_Lock_Interval(IndexManager *self, uint32_t timeout);
- /** Getter for deletion lock retry interval.
+ /** Getter for deletion lock retry interval.
*/
public uint32_t
Get_Deletion_Lock_Interval(IndexManager *self);
Modified: incubator/lucy/trunk/core/Lucy/Index/IndexReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/IndexReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/IndexReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/IndexReader.cfh Sat Apr 9 21:44:48 2011
@@ -17,11 +17,11 @@
parcel Lucy;
/** Read from an inverted index.
- *
+ *
* IndexReader is the interface through which
* L<IndexSearcher|Lucy::Search::IndexSearcher> objects access the
* content of an index.
- *
+ *
* IndexReader objects always represent a point-in-time view of an index as it
* existed at the moment the reader was created. If you want search results
* to reflect modifications to an index, you must create a new IndexReader
@@ -54,7 +54,7 @@ class Lucy::Index::IndexReader cnick IxR
/** IndexReader is an abstract base class; open() returns the IndexReader
* subclass PolyReader, which channels the output of 0 or more SegReaders.
*
- * @param index Either a string filepath or a Folder.
+ * @param index Either a string filepath or a Folder.
* @param snapshot A Snapshot. If not supplied, the most recent snapshot
* file will be used.
* @param manager An L<IndexManager|Lucy::Index::IndexManager>.
@@ -96,7 +96,7 @@ class Lucy::Index::IndexReader cnick IxR
public abstract incremented VArray*
Seg_Readers(IndexReader *self);
- /** Fetch a component, or throw an error if the component can't be found.
+ /** Fetch a component, or throw an error if the component can't be found.
*
* @param api The name of the DataReader subclass that the desired
* component must implement.
@@ -104,8 +104,8 @@ class Lucy::Index::IndexReader cnick IxR
public DataReader*
Obtain(IndexReader *self, const CharBuf *api);
- /** Fetch a component, or return NULL if the component can't be found.
- *
+ /** Fetch a component, or return NULL if the component can't be found.
+ *
* @param api The name of the DataReader subclass that the desired
* component must implement.
*/
Modified: incubator/lucy/trunk/core/Lucy/Index/Indexer.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Indexer.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Indexer.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Indexer.cfh Sat Apr 9 21:44:48 2011
@@ -24,7 +24,7 @@ parcel Lucy;
*
* In general, only one Indexer at a time may write to an index safely. If a
* write lock cannot be secured, new() will throw an exception.
- *
+ *
* If an index is located on a shared volume, each writer application must
* identify itself by supplying an
* L<IndexManager|Lucy::Index::IndexManager> with a unique
@@ -68,13 +68,13 @@ class Lucy::Index::Indexer inherits Lucy
* @param schema A Schema.
* @param index Either a string filepath or a Folder.
* @param manager An IndexManager.
- * @param flags Flags governing behavior.
+ * @param flags Flags governing behavior.
*/
public inert Indexer*
init(Indexer *self, Schema *schema = NULL, Obj *index,
IndexManager *manager = NULL, int32_t flags = 0);
- /** Add a document to the index.
+ /** Add a document to the index.
*
* @param doc A Lucy::Document::Doc object.
* @param boost A floating point weight which affects how this document
@@ -85,7 +85,7 @@ class Lucy::Index::Indexer inherits Lucy
/** Absorb an existing index into this one. The two indexes must
* have matching Schemas.
- *
+ *
* @param index Either an index path name or a Folder.
*/
public void
Modified: incubator/lucy/trunk/core/Lucy/Index/Inverter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Inverter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Inverter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Inverter.cfh Sat Apr 9 21:44:48 2011
@@ -60,8 +60,8 @@ class Lucy::Index::Inverter inherits Luc
Set_Boost(Inverter *self, float boost);
/** Add a field to the Inverter. If the field is indexed/analyzed, invert
- * it.
- *
+ * it.
+ *
* The InverterEntry's value should have already been set to the field's
* value when Add_Field() is called.
*/
@@ -75,7 +75,7 @@ class Lucy::Index::Inverter inherits Luc
/** Reset the iterator and prepare to cycle through any fields that have
* been added.
- *
+ *
* @return the number of fields which will be iterated over.
*/
public uint32_t
@@ -137,7 +137,7 @@ class Lucy::Index::Inverter inherits Luc
}
/** Cached information about fields.
- *
+ *
* Inverter needs to check certain field characteristics frequently. Since
* field definitions are unchanging, we cache them in an InverterEntry object.
*/
Modified: incubator/lucy/trunk/core/Lucy/Index/LexIndex.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/LexIndex.c?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/LexIndex.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/LexIndex.c Sat Apr 9 21:44:48 2011
@@ -154,7 +154,7 @@ LexIndex_seek(LexIndex *self, Obj *targe
THROW(ERR, "Target is a %o, and not comparable to a %o",
Obj_Get_Class_Name(target), VTable_Get_Name(CHARBUF));
}
- /* TODO:
+ /* TODO:
Obj *first_obj = VA_Fetch(terms, 0);
if ( !Obj_Is_A(target, Obj_Get_VTable(first_obj)) ) {
THROW(ERR, "Target is a %o, and not comparable to a %o",
Modified: incubator/lucy/trunk/core/Lucy/Index/Lexicon.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Lexicon.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Lexicon.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Lexicon.cfh Sat Apr 9 21:44:48 2011
@@ -17,14 +17,14 @@
parcel Lucy;
/** Iterator for a field's terms.
- *
+ *
* A Lexicon is an iterator which provides access to all the unique terms for
* a given field in sorted order.
- *
+ *
* If an index consists of two documents with a 'content' field holding "three
* blind mice" and "three musketeers" respectively, then iterating through the
* 'content' field's lexicon would produce this list:
- *
+ *
* blind
* mice
* musketeers
@@ -48,8 +48,8 @@ class Lucy::Index::Lexicon cnick Lex inh
public abstract void
Seek(Lexicon *self, Obj *target = NULL);
- /** Proceed to the next term.
- *
+ /** Proceed to the next term.
+ *
* @return true until the iterator is exhausted, then false.
*/
public abstract bool_t
@@ -62,7 +62,7 @@ class Lucy::Index::Lexicon cnick Lex inh
Reset(Lexicon *self);
/** Return the number of documents that the current term appears in at
- * least once. Deleted documents may be included in the count.
+ * least once. Deleted documents may be included in the count.
*/
public abstract int32_t
Doc_Freq(Lexicon *self);
Modified: incubator/lucy/trunk/core/Lucy/Index/LexiconReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/LexiconReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/LexiconReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/LexiconReader.cfh Sat Apr 9 21:44:48 2011
@@ -50,7 +50,7 @@ abstract class Lucy::Index::LexiconReade
/** Return a LexiconReader which merges the output of other
* LexiconReaders.
- *
+ *
* @param readers An array of LexiconReaders.
* @param offsets Doc id start offsets for each reader.
*/
Modified: incubator/lucy/trunk/core/Lucy/Index/LexiconWriter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/LexiconWriter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/LexiconWriter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/LexiconWriter.cfh Sat Apr 9 21:44:48 2011
@@ -68,7 +68,7 @@ class Lucy::Index::LexiconWriter cnick L
void
Leave_Temp_Mode(LexiconWriter *self);
- /** Add a Term's text and its associated TermInfo (which has the Term's
+ /** Add a Term's text and its associated TermInfo (which has the Term's
* field number).
*/
void
Modified: incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.cfh Sat Apr 9 21:44:48 2011
@@ -16,7 +16,7 @@
parcel Lucy;
-/** Multi-segment Lexicon.
+/** Multi-segment Lexicon.
*
* Interleaves the output of multiple SegLexicons.
*/
Modified: incubator/lucy/trunk/core/Lucy/Index/PolyReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PolyReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PolyReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PolyReader.cfh Sat Apr 9 21:44:48 2011
@@ -21,7 +21,7 @@ parcel Lucy;
* PolyReader conflates index data from multiple segments. For instance, if
* an index contains three segments with 10 documents each, PolyReader's
* Doc_Max() method will return 30.
- *
+ *
* Some of PolyReader's L<DataReader|Lucy::Index::DataReader> components
* may be less efficient or complete than the single-segment implementations
* accessed via L<SegReader|Lucy::Index::SegReader>.
@@ -37,12 +37,12 @@ class Lucy::Index::PolyReader inherits L
open(Obj *index, Snapshot *snapshot = NULL, IndexManager *manager = NULL);
/**
- * @param index Either a string filepath or a L<Lucy::Folder>.
+ * @param index Either a string filepath or a L<Lucy::Folder>.
* @param snapshot A Snapshot. If not supplied, the most recent snapshot
* file will be used.
* @param manager An L<IndexManager|Lucy::Index::IndexManager>.
* Read-locking is off by default; supplying this argument turns it on.
- */
+ */
public inert nullable PolyReader*
do_open(PolyReader *self, Obj *index, Snapshot *snapshot = NULL,
IndexManager *manager = NULL);
Modified: incubator/lucy/trunk/core/Lucy/Index/Posting.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Posting.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Posting.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Posting.cfh Sat Apr 9 21:44:48 2011
@@ -21,7 +21,7 @@ parcel Lucy;
* A Posting, in Apache Lucy, is a vessel which stores information about a
* term-document match. (See L<Lucy::Docs::IRTheory> for the
* academic definition of "posting".)
- *
+ *
* Subclasses include
* L<MatchPosting|Lucy::Index::Posting::MatchPosting>, the simplest
* posting format, and
@@ -34,7 +34,7 @@ class Lucy::Index::Posting cnick Post in
public inert Posting*
init(Posting *self);
- /** Create a RawPosting object, suitable for index-time sorting.
+ /** Create a RawPosting object, suitable for index-time sorting.
*
* Updates the state of the document id, but nothing else.
*/
@@ -79,14 +79,14 @@ abstract class Lucy::Index::Posting::Pos
Write_Posting(PostingWriter *self, RawPosting *posting);
/** Start a new term. Update the TermInfo to reflect the state of the
- * PostingWriter.
+ * PostingWriter.
*/
abstract void
Start_Term(PostingWriter *self, TermInfo *tinfo);
/** Update the TermInfo to reflect the internal state of the
- * PostingWriter so that skip information can be written.
- *
+ * PostingWriter so that skip information can be written.
+ *
* TODO: This is an ugly hack which needs refactoring.
*/
abstract void
Modified: incubator/lucy/trunk/core/Lucy/Index/Posting/MatchPosting.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Posting/MatchPosting.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Posting/MatchPosting.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Posting/MatchPosting.cfh Sat Apr 9 21:44:48 2011
@@ -22,7 +22,7 @@ parcel Lucy;
* instance, if you need to determine that that a query matches a particular
* category, but don't want the match to contribute to the document score, use
* MatchPosting for the field.
- */
+ */
class Lucy::Index::Posting::MatchPosting cnick MatchPost
inherits Lucy::Index::Posting {
Modified: incubator/lucy/trunk/core/Lucy/Index/Posting/RawPosting.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Posting/RawPosting.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Posting/RawPosting.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Posting/RawPosting.cfh Sat Apr 9 21:44:48 2011
@@ -16,20 +16,20 @@
parcel Lucy;
-/**
+/**
* Sortable, serialized Posting.
- *
+ *
* RawPosting is a specialized subclass of Posting for private use only. It
* is used at index-time for fast reading, writing, sorting and merging of
* index posting data by PostingPool.
- *
+ *
* RawPosting's Destroy method throws an error. All RawPosting objects belong
- * to a particular MemoryPool, which takes responsibility for freeing them.
- *
+ * to a particular MemoryPool, which takes responsibility for freeing them.
+ *
* The last struct member, [blob], is a "flexible array" member. RawPosting
* objects are assigned one continuous memory block of variable size,
- * depending on how much data needs to fit in blob.
- *
+ * depending on how much data needs to fit in blob.
+ *
* The first part of blob is the term's text content, the length of which is
* indicated by [content_len]. At the end of the content, encoded auxilliary
* posting information begins, ready to be blasted out verbatim to a postings
Modified: incubator/lucy/trunk/core/Lucy/Index/Posting/RichPosting.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Posting/RichPosting.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Posting/RichPosting.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Posting/RichPosting.cfh Sat Apr 9 21:44:48 2011
@@ -23,11 +23,11 @@ parcel Lucy;
* per-position rather than per-field. To exploit this, you need a custom
* L<Analyzer|Lucy::Analysis::Analyzer> which assigns varying boosts to
* individual L<Token|Lucy::Analysis::Token> objects.
- *
+ *
* A typical application for RichPosting is an HTMLAnalyzer which assigns
* boost based on the visual size and weight of the marked up text: H1
* blocks get the greatest weight, H2 blocks almost as much, etc.
- */
+ */
class Lucy::Index::Posting::RichPosting cnick RichPost
inherits Lucy::Index::Posting::ScorePosting {
Modified: incubator/lucy/trunk/core/Lucy/Index/Posting/ScorePosting.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Posting/ScorePosting.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Posting/ScorePosting.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Posting/ScorePosting.cfh Sat Apr 9 21:44:48 2011
@@ -21,7 +21,7 @@ parcel Lucy;
* ScorePosting is the default posting format in Apache Lucy. The
* term-document pairing used by MatchPosting is supplemented by additional
* frequency, position, and weighting information.
- */
+ */
class Lucy::Index::Posting::ScorePosting cnick ScorePost
inherits Lucy::Index::Posting::MatchPosting {
Modified: incubator/lucy/trunk/core/Lucy/Index/PostingList.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingList.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingList.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingList.cfh Sat Apr 9 21:44:48 2011
@@ -17,10 +17,10 @@
parcel Lucy;
/** Term-Document pairings.
- *
+ *
* PostingList is an iterator which supplies a list of document ids that match
- * a given term.
- *
+ * a given term.
+ *
* See L<Lucy::Docs::IRTheory> for definitions of "posting" and "posting
* list".
*/
@@ -45,7 +45,7 @@ class Lucy::Index::PostingList cnick PLi
/** Prepare the PostingList object to iterate over matches for documents
* that match <code>target</code>.
- *
+ *
* @param target The term to match. If NULL, the iterator will be empty.
*/
public abstract void
Modified: incubator/lucy/trunk/core/Lucy/Index/PostingListReader.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingListReader.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingListReader.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingListReader.cfh Sat Apr 9 21:44:48 2011
@@ -17,7 +17,7 @@
parcel Lucy;
/** Read postings data.
- *
+ *
* PostingListReaders produce L<PostingList|Lucy::Index::PostingList>
* objects which convey document matching information.
*/
@@ -31,11 +31,11 @@ class Lucy::Index::PostingListReader cni
/** Returns a PostingList, or NULL if either <code>field</code> is NULL or
* <code>field</code> is not present in any documents.
- *
+ *
* @param field A field name.
* @param term If supplied, the PostingList will be pre-located to this
- * term using Seek().
- */
+ * term using Seek().
+ */
public abstract incremented nullable PostingList*
Posting_List(PostingListReader *self, const CharBuf *field = NULL,
Obj *term = NULL);
Modified: incubator/lucy/trunk/core/Lucy/Index/PostingListWriter.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingListWriter.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingListWriter.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingListWriter.cfh Sat Apr 9 21:44:48 2011
@@ -17,10 +17,10 @@
parcel Lucy;
/** Write postings data to an index.
- *
+ *
* PostingListWriter writes frequency and positional data files, plus feeds
* data to LexiconWriter.
- */
+ */
class Lucy::Index::PostingListWriter cnick PListWriter
inherits Lucy::Index::DataWriter {
Modified: incubator/lucy/trunk/core/Lucy/Index/PostingPool.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingPool.cfh?rev=1090693&r1=1090692&r2=1090693&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingPool.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingPool.cfh Sat Apr 9 21:44:48 2011
@@ -69,7 +69,7 @@ class Lucy::Index::PostingPool cnick Pos
Add_Inversion(PostingPool *self, Inversion *inversion, int32_t doc_id,
float doc_boost, float length_norm);
- /** Reduce RAM footprint as much as possible.
+ /** Reduce RAM footprint as much as possible.
*/
void
Shrink(PostingPool *self);