Hi Jörg I'm pretty certain Sphinx is fine with this - it treats arrays in a single filter as OR comparisons.
Give it a shot :) -- Pat On 15/02/2009, at 2:56 PM, Jörg Battermann wrote: > > Pat, > > does (thinking) sphinx also handle arrays on one integer field? E.g. I > have an integer field 'age', and doing ranges works fine... but could > I also say give me everyone of the age [29,30, 32]? > > -J > > On Jan 27, 6:26 am, Pat Allan <[email protected]> wrote: >> Hi Jörg (or Joerg? Which spelling do you prefer?) >> >> Sphinx can handle ranges, so the best approach is to make a range >> that >> essentially represents what you need. For example: >> >> Less than 5: 0..4 >> More than 5: 6..0xffffffff >> >> In between is much easier, as that's exactly what a range does :) >> >> Cheers >> >> -- >> Pat >> >> On 21/01/2009, at 7:51 PM, Jörg Battermann wrote: >> >> >> >> >> >>> Hello there, >> >>> Quick question: is it somehow possible to query on an integer >>> field to >>> return all entries >>> that are either greater than a specified value, less than.. or >>> inbetween? (< > or <= =>)? >> >>> Cheers and thanks, >>> -Joerg > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
