Commit Graph

1766 Commits

Author SHA1 Message Date
Timo Westkämper
d39bafc905 fixed a typo 2010-03-24 21:32:56 +00:00
Timo Westkämper
445f0489dc moved toSort from LuceneQuery to LuceneSerializer 2010-03-24 19:44:54 +00:00
Timo Westkämper
e754eb1841 replaced toField with serializer.toField 2010-03-24 19:29:51 +00:00
Timo Westkämper
2f010ef633 renamed package from com.mysema.query.search to com.mysema.query.lucene 2010-03-24 19:06:25 +00:00
Vesa Martilla
ca00c68302 Fixed LuceneQuery.listResults, had a logic bug in which totalCount wasn't all of the matched documents, but just the amount of documents matching the limit. Also as a slight optimization lists initialized to resulting size in initialization. 2010-03-24 13:09:04 +00:00
Timo Westkämper
6bde4f7a35 added comments 2010-03-24 12:41:27 +00:00
Vesa Martilla
c2b809e661 Edited and added class documentation (author etc.) 2010-03-24 12:04:06 +00:00
Vesa Martilla
a9582fb65d Added limit and offset verification in QueryModifiers.QueryModifiers(Long, Long). 2010-03-24 11:55:13 +00:00
Vesa Martilla
a776e6eb43 Added support for LuceneQuery.listResult, limit, offset and restrictions are now taken into consideration as well in LuceneQuery.list* methods. Created tests for these cases. 2010-03-24 11:36:03 +00:00
Timo Westkämper
c50d9571c4 added query model for java.io.File and tests 2010-03-24 07:07:06 +00:00
Timo Westkämper
586d428f15 fixed null return 2010-03-23 14:58:15 +00:00
Timo Westkämper
9935e159b3 2010-03-23 14:30:42 +00:00
Timo Westkämper
07762965bb renamed querydsl-hibernate-search to querydsl-lucene 2010-03-23 14:28:07 +00:00
Timo Westkämper
abe127cb53 removed Hibernate dependencies 2010-03-23 14:27:35 +00:00
Timo Westkämper
d2ff3423ef 2010-03-23 14:25:58 +00:00
Timo Westkämper
d98b1b4f19 renamed SimpleTest to LuceneSerializerTest
added exception wrapping
2010-03-23 14:18:47 +00:00
Vesa Martilla
845b7dd5d4 Implemented LuceneQuery.list, LuceneQuery.uniqueResult and LuceneQuery.count, created tests for these as well. 2010-03-23 13:42:09 +00:00
Vesa Martilla
9a1cb7bc00 LuceneSerializer PString cast switched to Path<?>. Added ignored tests for fuzzy, boost and proximity in SimpleTest. 2010-03-23 13:41:28 +00:00
Timo Westkämper
36741f9d2d added javadocs 2010-03-23 13:34:07 +00:00
Timo Westkämper
a767ff2a47 2010-03-23 11:42:59 +00:00
Timo Westkämper
b0bb2f4dd8 organized imports 2010-03-23 09:48:52 +00:00
Timo Westkämper
ad12cd420c added ESimple between Expr and its subtypes 2010-03-23 09:46:33 +00:00
Timo Westkämper
8f13241f2f added javadoc headers 2010-03-23 09:32:27 +00:00
Timo Westkämper
7e47b0d136 further changed Expr type locations 2010-03-23 08:43:53 +00:00
Timo Westkämper
c3b8f5098e fixed packages 2010-03-22 20:54:04 +00:00
Timo Westkämper
fc9942b73b fixed packages 2010-03-22 20:38:39 +00:00
Timo Westkämper
812cbc13df fixed packages 2010-03-22 20:32:22 +00:00
Timo Westkämper
cee05783e6 unified expr and operation packages 2010-03-22 20:28:29 +00:00
Timo Westkämper
e050ab0d6b moved Expr base types to com.mysema.query.types.expr 2010-03-22 20:22:55 +00:00
Timo Westkämper
739b7636fb homogenized Mixin constructors 2010-03-22 20:09:00 +00:00
Timo Westkämper
7ce3c99f73 moved OperatorImpl and Ops to com.mysema.query.types 2010-03-22 19:23:20 +00:00
Timo Westkämper
ceca163268 moved Detachable to com.mysema.query.types.query 2010-03-22 19:04:12 +00:00
Timo Westkämper
aa53307202 moved constant types to com.mysema.query.types 2010-03-22 18:51:49 +00:00
Timo Westkämper
b3964ac7f1 moved basic types to com.mysema.query.types
moved constants to com.mysema.query.types.constant
2010-03-22 18:24:12 +00:00
Timo Westkämper
32720757fe moved Path, Custom, Operation and related types to com.mysema.query.types 2010-03-22 17:45:50 +00:00
Timo Westkämper
8729ce8381 refactored packages to avoid cyclic package dependencies 2010-03-22 15:18:10 +00:00
Timo Westkämper
c590d0860f 2010-03-22 15:01:18 +00:00
Timo Westkämper
664dde063d changed QueryException to IllegalArgumentException 2010-03-22 15:00:57 +00:00
Vesa Martilla
d4b7225bd1 Implemented between in LuceneSerializer. Fixed phrase queries (like query "foo bar" is transformed to "+*foo* +*bar*", this is as close as I could get result-wise). Improved LuceneSerialize encapsulation by splitting into methods. Updated tests in SimpleTest. 2010-03-22 14:06:18 +00:00
Vesa Martilla
ea3ecc8f76 Created SimpleTest.testQuery(Expr, String, int) which is a basic template for all the query tests, removes a lot of copy-paste, thanks to tiwe for the suggestion. 2010-03-22 08:33:16 +00:00
Timo Westkämper
3b0e307ddc organized imports 2010-03-21 15:37:17 +00:00
Timo Westkämper
c62f97f0d9 organized imports 2010-03-21 15:36:56 +00:00
Timo Westkämper
d9030cfdfb moved lowercase transformation to own method 2010-03-21 15:36:38 +00:00
Timo Westkämper
8e6813466d updated version to 1.4.0-SNAPSHOT 2010-03-20 17:30:55 +00:00
Timo Westkämper
eaa8edd04d updated version to 1.4.0 2010-03-20 17:10:55 +00:00
Vesa Martilla
85bd1288a3 Added new comment regarding creating new method. Added return statements to toPhraseQuery. 2010-03-19 14:58:33 +00:00
Vesa Martilla
df9ff91e8e Modified comments in LuceneSerializer. 2010-03-19 14:46:54 +00:00
Vesa Martilla
4d709d9a6d Added support for endsWith. 2010-03-19 14:33:16 +00:00
Vesa Martilla
ad2b0c7a39 "contains" now escapes user's input, so user can't input own wildcards, that is what "like" is for. 2010-03-19 13:54:18 +00:00
Vesa Martilla
672bb057eb Added support for contains query serializing. Tests for this created as well (phrase ignored because wildcards still broken). 2010-03-19 13:40:20 +00:00