Hi, iI understood that a following entry can be set in a synonym file :
word1, word2 => word1, word2
Like that a search on word1 or word2 returns the same set of documents.
I do not understand how such synonyms are handled.
Are the following assumptions true ?
- The inverted index contains one entry for word1 and one for word2
- Each document containing word1 or word2 are referenced by the inverted index entries word1 and word2
And for searches, how is managed a search with word1 or word 2 ? Are two queries executed ? One with word1 and one with word2 ?
Are hightlight and regexp managed with such synonyms ?
Thanks for any helps.
B. Granier