dde0184785
Remoed unused QueryTerm::m_underNOT
2017-05-30 15:31:41 +02:00
17f1cf8a2e
Removed unused Query::m_hasQuotaField
2017-05-30 15:14:26 +02:00
fab45a7395
Removed Query::m_hasUOR
...
It appears not to be used in spite of numerous comments and references. There is no explanation of what "UOR" is except it is a boolean operation that apparently does nothing.
2017-05-30 15:08:11 +02:00
49d0cf4d23
Removed QueryTerm::m_isUORed and QueryTerm::m_UORedTerm
...
Both were only assigned false and NULL.
2017-05-30 15:08:11 +02:00
b4c27521ef
Changed QueryTerm::m_isWikiHalfStopBigram from bitfield to bool
2017-05-23 13:46:10 +02:00
056b2f9fb5
QueryTerm/QueryTermInfo: mor econst
2017-05-22 16:46:18 +02:00
db8c2145f8
Renamed QueryTerm::m_userWeight* to more explicit names
...
Makes it easier to grep and see what a userWeight is for.
2017-05-19 16:16:22 +02:00
a8e0163b20
Removed m_userType* from Query/QueryTerm/QueryWord
...
Also changed syntax of the bracketed weights
2017-05-19 16:01:37 +02:00
4193fd6999
Made g_fields[] const
2017-05-09 14:50:17 +02:00
26ae00bb79
Removed Query.* FIELD_QUOTA and FIELD_GBSECTIONHASH
2017-02-20 17:16:42 +01:00
63bae5c001
Made QueryTerm::m_qword const
2017-02-20 15:12:17 +01:00
19db02a16e
Changed Query::m_gbuf/m_gnext/m_qwordsAllocSize into a simple SmallBuf<>
2017-02-16 17:54:52 +01:00
3c8a5135cd
Renamed Query::m_stackBuf to something sensible
2017-02-15 22:40:26 +01:00
62d96d5fdf
Encapsulate Query more
2017-02-15 22:39:06 +01:00
2578f360e9
Renamed Query::m_osb to something sensible
2017-02-15 22:34:23 +01:00
c70e4ac681
Renamed Query::m_sb to something sensible and changed it to a SmallBuf<>
2017-02-15 22:26:41 +01:00
2e15a02a9a
More encapsulation of Query
2017-02-15 22:19:52 +01:00
0cd90b5cad
Encapsulated Query::m_orig
2017-02-15 22:18:18 +01:00
e0dde65209
More const
2017-02-14 11:32:24 +01:00
8304ab6f19
Removed obsolete comment
2017-02-14 11:30:08 +01:00
9502efb1b3
Fixed no longer correct comments
2017-02-13 16:59:55 +01:00
8da6618685
If a word in a query is a high-freq-term then ignore it if possible
...
If a word is in the high-freq-term-cache then don't search for that word. bigrams thereof is fine. Also, if it is the only word in the query then allow searching for it anyway.
2017-02-13 16:44:34 +01:00
b11038fc66
Turned word/phrase ignore reason into an enum
2017-02-13 12:26:23 +01:00
6eb14aab03
More constness in Query
2017-02-13 11:37:10 +01:00
7520c6d1ef
Remvoed Expression::print()
...
Empty implementation. Never called.
2017-01-29 01:29:35 +01:00
702f40f596
Removed default value of parameter useQueryStopWords in Query::set2()
2016-12-22 12:11:15 +01:00
bdd8cb5338
#include clean up Query.h
2016-12-08 16:56:09 +01:00
5a5ac936cb
char -> bool and related fixes in Query
2016-10-20 22:11:12 +02:00
a44ba0f3a1
More constness in Query.*
2016-09-19 12:32:26 +02:00
1f8418e022
More constness in Query.*
2016-09-19 12:20:26 +02:00
e6288534d8
Fix conversion from string literal to 'char *' for Query
2016-05-31 11:26:01 +02:00
8dab0db467
Remove extra semicolons
2016-05-19 18:37:26 +02:00
36c3c19f6e
Added support for searching on term id. Use gbtermid:<id>
2016-05-13 14:34:53 +02:00
c7ec4c87b1
Added Query::dumpToLog() method
2016-03-14 12:18:08 +01:00
e7776b3241
Query::setQTerms() di not use 'phrases' parameter
2016-03-11 16:31:35 +01:00
ab0b9d03ea
Standardize header guards
2016-03-08 22:16:02 +01:00
56861e10b7
Remove m_colorNum from Query & Matches
2016-03-04 17:51:08 +01:00
5bb9e3c678
Remove more unused variable & functions
2016-03-02 12:52:49 +01:00
681617a328
Remove unused fields/variables
2016-03-02 12:30:15 +01:00
ab6dbd225e
Remove unused variable, modify char to bool for variable used as bool
2016-03-02 11:52:50 +01:00
414db8741d
Fix compilation error & remove now unused variable
2016-03-01 16:48:46 +01:00
b61cb47aad
Remove unused/set only variable
2016-03-01 16:43:23 +01:00
26f015e9c2
Removed Query::printBooleanTree() which was effectively a no-op
2016-02-29 16:25:07 +01:00
46f677b45f
Removed declared-but-not-defined methods from Query
2016-02-29 16:20:05 +01:00
89786b1380
More constness in Query
2016-02-29 16:09:09 +01:00
b9bf8b1257
Changed QueryTerm::m_inPhrase from char to bool
2016-02-29 16:01:58 +01:00
faf8bb4acd
Remove unused getFieldCode2 & getFieldCode3 funcations
2016-02-28 13:08:18 +01:00
d1b75390d5
Remove commented out codes
2016-02-25 22:41:33 +01:00
b5d7b6e26c
Remove more facet codes
2016-02-25 16:54:56 +01:00
4c06d6c706
More constness for Query methods
2016-02-25 16:05:56 +01:00