for faceted search example: something between $10-$20
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | apachesolr_range.patch | 2 KB | vladimir.dolgopolov |
for faceted search example: something between $10-$20
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | apachesolr_range.patch | 2 KB | vladimir.dolgopolov |
Comments
Comment #1
asak commentedJust what i'm looking for. subscribing.
Using Faceted Search we can get it to search pre-defined ranges. what's needed is a dynamic range.
Comment #2
David Lesieur commentedMarking #315500: Support +/- for numerical/date fields as duplicate. That post describes more use cases, though.
Comment #3
vladimir.dolgopolov commentedHere is the patch to get a range queries functionality.
Range Searches
Comment #4
pwolanin commentedI'm not sure the regex is right here - a range query can have extra whitespace inside and still be valid.
Comment #5
pwolanin commentedalso, the original code seems to be doing an entire unnecessary preg_replace to remove leading/trailing " rather than just using the original capture pattern.
Actually, I think the original code has some serious logic errors - or at the least it is very difficult to understand why it works if you have multiple values for a field, some of which are quoted and some not.
Comment #6
pwolanin commentednow duplicate to: http://drupal.org/node/369944 and http://drupal.org/node/293989
Comment #7
cyberswat commentedBoth of the duplicate issues have been fixed ... does this mean range searches are now supported?