User Tools

Site Tools


inverted_word_index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
inverted_word_index [2012/05/29 00:13] – [Function] danielinverted_word_index [2016/05/16 12:27] (current) – remove useless j++ in loop daniel
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;
inverted_word_index.1338250400.txt.gz · Last modified: 2012/05/29 00:13 by daniel