Links
dtSearch Text Retrieval Engine -- Java API 7.64
Options Class
Classes | Legend | Members | Methods | Send Feedback

The Options object enables you to specify how the dtSearch engine will process text being indexed or searched.

Class Hierarchy
public class Options;
File

Options.java

Remarks

After changing settings, call save() to apply your changes, or they will have no effect. 

See "Options" in the Overviews section for a description of the purpose of each option setting. 

When an Options object is first created, it is populated with the settings currently in effect. After you change one or 

more settings, call Save() to apply the changes. The new settings will apply to the currently-executing thread and to 

any newly-created threads. It will not affect other threads that are already running. 

 

Options cannot be changed within a callback function such as DataSource.getNextDoc. This is because 

dtSearch assumes that the options in effect for a thread at the start of a job will remain in effect until that job completes. 

 

Group
Methods
Method 
Description 
get 
Get option settings currently in effect 
Stemming rules for stemming searches (default: "stemming.dat") 
TextFlags value with text-processing options 
Indicates Unicode ranges that are of interest when filtering. 
save 
Applies changes to option settings 
Name of dtSearch alphabet file to use when parsing text into words. 
BinaryFilesSettings value specifying the treatment of files that do not appear to be documents. 
Define characters considered to be text if Options.setBinaryFiles is set to dtsoFilterBinary 
Use to replace the default connectors used in search requests. 
FieldFlags value that controls indexing of metadata 
Name of the file containing a table of filename patterns for file formats that dtSearch cannot detect automatically, such as older versions of WordStar 
Character that enables fuzzy searching for a search term (default "%") 
Directory where the dtSearch Engine and support files are located. 
HyphenSettings value controlling the treatment of hyphens in text. 
If false, any word that begins with a digit will not be indexed. 
Obsolete 
Character that indicates that a search term is a macro (default "@") 
Wildcard character that matches a single digit (default: none) 
Maximum size of a single stored field. 
Words longer than the maxWordLength will be truncated when indexing. 
Maximum number of words that can be matched in a search. 
List of noise words to skip during indexing (default: "noise.dat") 
Character that enables phonic searching for a search term (default "#") 
A directory that the dtSearch Engine can use to store temporary files. 
File segmentation rules, used to split up long text files into logical subdocuments during indexing. 
Character that enables stemming for a search term. 
Stemming rules for stemming searches (default: "stemming.dat") 
Character that enables synonym searching for a search term. 
Name of the file containing rules for extraction of field data from text files based on markers in the next 
TextFlags value specifying options for text processing during indexing. 
By default, the dtSearch Engine collects the first 80 characters of text from a file for the title associated with each document. 
Specifies how each input file is divided into blocks before being filtered. 
Flags controlling the behavior of the Unicode Filtering algorithm. 
Specifies the Unicode subranges that the filtering algorithm should look for. 
Set to true to force all configuration files to be re-read when save() is called. 
User-defined synonym sets. 
Character used to indicate term weighting (example: apple:5) 
Comma-separated list of tags to ignore when indexing XML 
Legend
 
Method 
Links
You are here: Classes > Options Class
Copyright (c) 1998-2009 dtSearch Corp. All rights reserved.