Commit Graph

85 Commits

Author SHA1 Message Date
David Sauve
d31a875b46 Added support for additional_query_string in mlt 2009-08-14 19:06:23 -04:00
David Sauve
051fe7ddd4 Fixed bug in 'mlt'. Was using not allowing additional_query_string, start_offset, and end_offset params 2009-08-14 18:54:46 -04:00
David Sauve
b42ac852d5 Better field facet implementation 2009-08-11 09:28:15 -04:00
David Sauve
648ca3a3d3 Added docstring for _do_query_facets 2009-08-11 08:49:45 -04:00
David Sauve
1a8e6d24b6 Implemented query facets 2009-08-11 08:42:42 -04:00
David Sauve
6a82cb5e3c More date facet tests 2009-08-10 16:38:13 -04:00
David Sauve
5be650c426 Minor fix to date based facet 2009-08-10 16:34:29 -04:00
David Sauve
54ae6c3694 Initial date based query implementation. Actually working. 2009-08-10 16:12:59 -04:00
David Sauve
ea02d182ff Properly built date gaps. Still need to properly count 2009-08-08 08:00:54 -04:00
David Sauve
e517d3a1e1 resolved merge conflict 2009-08-07 19:46:04 -04:00
David Sauve
25eede14d8 Still working on date-based facets 2009-08-07 19:41:24 -04:00
David Sauve
d1715de84b More date facet updates. Not ready for merging by a long shot... 2009-08-07 16:47:49 -04:00
David Sauve
40863f7413 Roughed in the date_query facet. Not working yet. 2009-08-07 16:21:29 -04:00
David Sauve
1ef902e849 Implemented boost 2009-08-07 15:58:36 -04:00
David Sauve
8015dd8297 Roughed in the date_query facet. Not working yet. 2009-08-07 14:22:40 -04:00
David Sauve
e90262b1e4 Added custom run and run_mlt methods to SearchQuery 2009-08-06 19:22:42 -04:00
David Sauve
69899cd215 Ascending and descinding sortin was inverted. Fixed. Also added a test to confirm float sorting is working as expected. 2009-08-06 09:03:03 -04:00
David Sauve
a6a1859029 Minor tweak to cleanup. Using shutil instead of iterating file objects 2009-08-05 16:44:12 -04:00
David Sauve
bc4f8a2be2 Better schema generation 2009-08-05 09:28:44 -04:00
David Sauve
1f84935b6b Minor adjustment to gt, gte, lt, lte query generation. gt was gte, lt was lte, and vice-versus. 2009-08-03 08:48:55 -04:00
David Sauve
e621a731b3 Fix for issue #12 -- Index Field with index=False raises KeyError 2009-08-03 08:47:19 -04:00
David Sauve
068a657bc9 Fixed query generation to match new value range processor expectation 2009-08-02 20:33:47 -04:00
David Sauve
e385129a6d Added support for gt, gte range queries 2009-08-02 20:32:19 -04:00
David Sauve
3841376be8 Added support for wildcard in lt, lte query 2009-08-02 20:14:51 -04:00
David Sauve
503d70693e Removed _value_type_column method 2009-08-02 19:29:15 -04:00
David Sauve
dab6a32c07 Small update to XHValueRangeProcessor to ensure it also works with flot values 2009-08-02 14:38:33 -04:00
David Sauve
793e878cd3 Better value range processing. Now using a custom value range processor. 2009-08-02 14:34:24 -04:00
David Sauve
53c5a674ea Better value range processing? Custom value range processor. Not working with integers though... 2009-08-02 14:18:40 -04:00
David Sauve
71f7b0ad08 Removed debug text 2009-08-02 10:41:58 -04:00
David Sauve
724d15bc96 Number value ranges working 2009-08-02 10:24:44 -04:00
David Sauve
55ed0f4359 Encoding int, long, and float values when storing in values 2009-08-01 20:51:54 -04:00
David Sauve
966e42424c Debugging value range processor 2009-08-01 20:20:32 -04:00
David Sauve
234dcfe312 Formatting change 2009-08-01 20:11:53 -04:00
David Sauve
74376185ba Better term generation 2009-08-01 16:18:07 -04:00
David Sauve
d60dc5a12b A better _from_pythong method 2009-08-01 16:15:21 -04:00
David Sauve
685b4edc19 Revert "Added value range processors. Not working yet."
This reverts commit d9a10eac95.
2009-08-01 14:08:44 -04:00
David Sauve
d9a10eac95 Added value range processors. Not working yet. 2009-08-01 14:08:30 -04:00
David Sauve
98a6d5ea95 Added value range processors. Not working yet. 2009-08-01 14:07:36 -04:00
David Sauve
c834a319e7 Finished refactor. Code should be much easier to work with now. 2009-07-31 15:29:48 -04:00
David Sauve
edd41f4552 Fixed highlighting in newly refactored code 2009-07-31 15:23:55 -04:00
David Sauve
2a9aea6fa6 Revert "Fixed facetting in refactor branch"
This reverts commit 687b48f614.
2009-07-31 15:18:18 -04:00
David Sauve
687b48f614 Fixed facetting in refactor branch 2009-07-31 15:18:11 -04:00
David Sauve
9c986458b3 Fixed facetting in refactor branch 2009-07-31 15:17:22 -04:00
David Sauve
8ee12dd68d Continued refactoring. 23 of 27 tests passing now. Code is much cleaner and leaner 2009-07-31 11:46:14 -04:00
David Sauve
7752a6e743 Implemented _dump_document_data and new update method 2009-07-31 11:43:58 -04:00
David Sauve
856777adb4 Completed new _build_schema and _prepare methods 2009-07-31 11:43:14 -04:00
David Sauve
91043533ed Corrected year in copyright notice. Should have been 2009, not 2007 2009-07-30 09:01:38 -04:00
David Sauve
3f97fa28b0 Added copyright notices 2009-07-30 08:57:35 -04:00
David Sauve
d4c8c42275 Fixed broken NOT query -- Thanks Supreet 2009-07-30 08:54:46 -04:00
David Sauve
c087348a48 Implemented highlighting 2009-07-27 15:12:20 -04:00