Changeset View
Changeset View
Standalone View
Standalone View
src/file/extractor/result.cpp
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Line(s) | 131 | { | |||
---|---|---|---|---|---|
134 | m_termGen.setDocument(&m_doc); | 134 | m_termGen.setDocument(&m_doc); | ||
135 | m_termGen.setPosition(1000); | 135 | m_termGen.setPosition(1000); | ||
136 | 136 | | |||
137 | // All document plain text starts from 10000. This is done to avoid | 137 | // All document plain text starts from 10000. This is done to avoid | ||
138 | // clashes with the term positions | 138 | // clashes with the term positions | ||
139 | m_termGenForText.setDocument(&m_doc); | 139 | m_termGenForText.setDocument(&m_doc); | ||
140 | m_termGenForText.setPosition(10000); | 140 | m_termGenForText.setPosition(10000); | ||
141 | } | 141 | } | ||
142 | | ||||
143 | QVariantMap Result::map() const | | |||
144 | { | | |||
145 | return m_map; | | |||
146 | } | |