Displaying 1 result from an estimated 1 matches for "dummy_count".
Did you mean:
dummy_con
2007 Mar 20
2
Strange Results For Term Frequencies
...sence or absence of completely
unrelated operations in the code, so the resulting term frequency
changes, too.
I repeatedly call ''index_reader.term_docs_for'' for the only document
I''ve indexed in the snippet below, but depending on the presence of the
statement
''dummy_count = 0'' or some formatting code for the output the resulting
term frequencies change from correct answers to wrong ones. Sometimes
terms are not
found at all.
For better examination I add a complete snippet which produce this
behavior on my system (the text is taken from
http://de.wikipedia....