Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.query.ft
Class ThesQuery

    java.lang.Object
      org.basex.query.ft.ThesQuery

    public final class ThesQuery

extends Object

Simple Thesaurus entry for full-text requests.

Author:
  Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
`ThesQuery()`

Method Summary
`void` | `add(Thesaurus th)` Merges two thesaurus definitions.
`byte[][]` | `find(Tokenizer ft)` Finds a thesaurus term.
`void` | `merge(ThesQuery th)` Merges two thesaurus definitions.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ThesQuery

    public ThesQuery()

Method Detail

### add

    public void add(Thesaurus th)

  Merges two thesaurus definitions.

  Parameters:
    `th` - second thesaurus

### merge

    public void merge(ThesQuery th)

  Merges two thesaurus definitions.

  Parameters:
    `th` - second thesaurus

### find

    public byte[][] find(Tokenizer ft)
                  throws QueryException

  Finds a thesaurus term.

  Parameters:
    `ft` - tokenizer
  Returns:
    result list
  Throws:
    `QueryException` - query exception

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD