yacy_search_server/source/net/yacy/search/index
orbiter 3190347814 added a synonyms_t field to solr and a process to read synonym files.
This can be used to add another stemming to solr using stemming files
that are expressed as synonyms for grammatical alternatives. The
synonym/stemming files must have the following form:
- each line is a comma-separated list of synonyms
- the list of synonyms may be enclosed with {} (like the GSA synonyms
file)
- the file may contain comments which are lines starting with a '#'
The synonym file(s) must be placed in DATA/DICTIONARIES/synonyms/ and
are activated by default whenever a synonym file is in place.
Then, for each word that is found in a document all synonyms are added
to a long text field which is stored into synonyms_t. Processes using
the synonyms must query with that field as optional matcher.
2012-10-02 00:02:50 +02:00
..
DocumentIndex.java added a synonyms_t field to solr and a process to read synonym files. 2012-10-02 00:02:50 +02:00
Fulltext.java - if a "/date" modifier is used, the solr remote query applies an 2012-09-26 16:56:33 +02:00
Segment.java added a synonyms_t field to solr and a process to read synonym files. 2012-10-02 00:02:50 +02:00
SolrConfiguration.java added a synonyms_t field to solr and a process to read synonym files. 2012-10-02 00:02:50 +02:00