|
Simple Attributes
| dateResolution |
| description: |
|
| type: |
int
|
| required: |
No
|
|
| indexId |
| description: |
Sets the "id" of this index. Indicies that have the same indexroot and
same id will be shared between datasources. This allows you to share a
full-text index between multiple Thinkmap Server ".tas" files.
The default is null, which means that the index id will be constructed
automatically from the URI of the enclosing ".tas" file.
|
| type: |
String
|
| required: |
No
|
|
| indexInterval |
| description: |
Set the indexing interval using a "cron-like" specification
which is a number of fields separated by whitespace. The default
is null, which means that re-indexing must be triggered manually.
Here is the format of the fields:
| field | allowed values |
| second | 0-59 |
| minute | 0-59 |
| hour | 0-23 |
| day of month | 1-31 |
| month | 0-11 (or names, see below) |
| day of week | 0-6 (0 is Sun, or use names) |
A field may be an asterisk (*), which always stands for
"first-last".
Ranges of numbers are allowed. Ranges are two numbers
separated with a hyphen. The specified range is inclu-
sive. For example, 8-11 for an ``hours'' entry specifies
execution at hours 8, 9, 10 and 11.
Lists are allowed. A list is a set of numbers (or ranges)
separated by commas. Examples: "1,2,5,9", "0-4,8-12".
Step values can be used in conjunction with ranges. Fol-
lowing a range with "/#" specifies skips of the
number's value through the range. For example, ``0-23/2''
can be used in the hours field to specify execution
every other hour (the alternative is to use
"0,2,4,6,8,10,12,14,16,18,20,22"). Steps are also
permitted after an asterisk, so if you want to say "every
two hours", just use a "/2" after an "*".
Names can also be used for the "month" and "day of week"
fields. Use the first three letters of the particular day
or month (case doesn't matter).
Examples:
- every five minutes after midnight, every day:
- "0 5 0 * * *"
- 2:15pm on the first of every month:
- "0 15 14 1 * *"
- at 10pm on weekdays:
- "0 0 22 * * mon-fri"
- at 5 minutes after 4am every sunday
- "0 5 4 * * sun"
|
| type: |
String
|
| required: |
No
|
|
| indexOnStart |
| description: |
If set to true, the datasource will be indexed on startup if no full-text
index exists.
|
| type: |
boolean
|
| required: |
No
|
|
| indexRoot |
| description: |
Sets the full path to the directory that will be used to store this full
text index.
|
| type: |
java.io.File
|
| required: |
No
|
|
| stopWords |
| description: |
Set the list of words that the full-text index should ignore. The default list
is "a,an,and,are,as,at,be,but,by,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with"
|
| type: |
String
|
| required: |
No
|
|
|