This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
inverted_word_index [2012/05/29 02:13] daniel [Function] |
inverted_word_index [2016/05/16 14:27] (current) daniel remove useless j++ in loop |
||
---|---|---|---|
Line 2: | Line 2: | ||
See also [[http://www.manitou-mail.org/db/inverted-wordindex.html|Implementation of the inverted word index]] for how the word index is stored in the database, and the definition of tables: | See also [[http://www.manitou-mail.org/db/inverted-wordindex.html|Implementation of the inverted word index]] for how the word index is stored in the database, and the definition of tables: | ||
- | * [[http://www.manitou-mail.org/doc/table.words.html|words]] | + | * [[http://www.manitou-mail.org/doc/mdx/table.words.html|words]] |
- | * [[http://www.manitou-mail.org/doc/table.non-indexable-words.html|non_indexable_words]] | + | * [[http://www.manitou-mail.org/doc/mdx/table.non-indexable-words.html|non_indexable_words]] |
- | * [[http://www.manitou-mail.org/doc/table.inverted-word-index.html|inverted_word_index]] | + | * [[http://www.manitou-mail.org/doc/mdx/table.inverted-word-index.html|inverted_word_index]] |
===== Function ===== | ===== Function ===== | ||
Line 64: | Line 64: | ||
RETURN NEXT var_part_no*16384+(i*8)+j+1; -- hit | RETURN NEXT var_part_no*16384+(i*8)+j+1; -- hit | ||
END IF; | END IF; | ||
- | j:=j+1; | ||
END LOOP; | END LOOP; | ||
END LOOP; | END LOOP; |