Mathieu Darse
8b87e94ff2
Add status match DSL
2015-09-14 19:25:44 +02:00
Jean-Yves Gaulier
e8f61a443b
PHRAS-676 #time 3h
...
new : returns facet on "type" (image, video, ...)
new : query on pseudo-field "type", ex: "type:image"
2015-09-04 14:34:25 +02:00
Mathieu Darse
1d0257554b
Fix code style on latest query parser feature & add tests
2015-07-02 19:06:44 +02:00
Jean-Yves Gaulier
d7c3a9943f
PHRAS-482 #time 4h
...
- added "recordid:xxx"
- added "base:yyy" (makes "Base" facets ok)
to query parser
2015-07-01 17:54:32 +02:00
Mathieu Darse
c813eee73f
Add equality expressions
2015-04-15 18:28:12 +02:00
Mathieu Darse
b3f9dd4ca2
Implement inequality in query visitor & fix IN expressions
2015-04-15 18:23:36 +02:00
Mathieu Darse
3ccf1a0c47
Field inequality grammar
2015-04-15 18:23:36 +02:00
Mathieu Darse
6229588cba
string() rule should not match multiple words
2015-04-15 18:23:36 +02:00
Mathieu Darse
2cd0fd6f2e
Prevent quoted contexts (visitor do not handle that)
2015-04-15 18:23:36 +02:00
Mathieu Darse
d9b4667824
Fixes parsing with multiples text token after IN operator
2015-04-15 18:23:36 +02:00
Mathieu Darse
18cf272805
Simplify some derivation rules
2015-04-15 18:23:35 +02:00
Mathieu Darse
308df4d04a
Document query grammar
2015-04-15 18:23:35 +02:00
Benoît Burnichon
e785a55ff6
Merge pull request #1349 from mdarse/facets-strict-match
...
Strict facet matching (the return)
2015-04-14 10:20:56 +02:00
Mathieu Darse
5715dfc6a0
Fix mandatory escaping sequence in raw expressions
2015-04-13 18:37:38 +02:00
Benoît Burnichon
e5c1cab623
Merge pull request #1347 from mdarse/facets-strict-match
...
Strict facet matching
2015-04-10 17:29:46 +02:00
Mathieu Darse
38465a591f
Strict facet matching
...
Clicking on a facet value on the left pane now return the expected result count.
This commit implement a new "raw" matcher. It can be used like
`r"some raw value"`. It operate on the the `.raw` multi-field and skips all
analysis.
Escaping `"` is supported by prepending a backslash `\"`. You can also escape
the escaping character `\` by doubling it (`\\`).
Adds a new `ContextAbleInterface` to differenciate matcher supporting an
optional context from those who can't.
Fixes an issue with `QueryContext::narrowToFields()` ignoring passed fields.
2015-04-09 20:32:13 +02:00
Mathieu Darse
c8579d64b3
Support for French operators
2015-04-09 15:15:08 +02:00
Mathieu Darse
74686c67cd
Support lower and mixed case operators
2015-04-09 15:14:34 +02:00
Mathieu Darse
927edaa1f6
Keep symbols characters matched in fallback mode
2015-03-30 16:30:12 +02:00
Mathieu Darse
c5fac0c555
String grammar rule can contain multiple word or keyword tokens
2015-03-30 16:30:12 +02:00
Mathieu Darse
32885f80d1
Allow spaces between context parenthesis
2015-03-30 16:30:11 +02:00
Mathieu Darse
d60b731ffa
Put colon with other symbols
2015-03-30 16:30:11 +02:00
Mathieu Darse
ce72d2bc1c
Split grammar quinary section
2015-03-30 16:30:11 +02:00
Mathieu Darse
b724998043
Add possible space before context parenthesis
2015-03-30 16:30:11 +02:00
Mathieu Darse
4a41234a71
WIP Improve grammar
...
- Make it understand difference between "INA" and "IN A"
- Clearer indent
- Explicit space handling
- Abstracted "xx:yy" form (in the future, "xx" can be different of "collection")
- Make quoted string explicit vs. regular string (without quotes around)
2015-03-30 16:30:11 +02:00
Mathieu Darse
67dcd09a39
Add "collection:" query support
2015-03-17 19:45:24 +01:00
Mathieu Darse
8c1848afae
Expression context support in thesaurus lookup
2015-02-25 12:22:13 +01:00
Mathieu Darse
712850ac67
Update grammar and AST for bracket notation
2015-02-25 12:19:00 +01:00
Mathieu Darse
1dce0ee8df
Update grammar for empty queries to work
2015-02-18 13:08:38 +01:00
Mathieu Darse
2aa0b0f1a8
Proper left-associativity in query operators
...
Remove previous lambda/curring based method
Grammar was simplified for EXCEPT case
Cleanup unused constants
2014-12-03 17:16:22 +01:00
Mathieu Darse
e9c9fe2376
Add Except query support
2014-11-27 18:27:30 +01:00
Mathieu Darse
03926ead81
Brackets support in queries
2014-11-26 14:10:55 +01:00
Mathieu Darse
3cf483256f
Updated grammar (IN/AND/EXCEPT)
2014-11-06 19:09:40 +01:00
Mathieu Darse
1b120e6569
WIP query grammar
2014-10-28 11:08:21 +01:00
Mathieu Darse
3266d8d9ac
WIP on PP grammar
2014-10-22 11:15:56 +02:00