Re: n values in one fieldType

2013-01-19 Thread Upayavira
Could you not just have six different fields? If you wanted greater search efficiency, maybe you could try indexing them as described above, as strings. You could use the 'shingles' idea, for example, if you had: 11 22 33 44 55 66 as your numbers, index the terms: 11 11-22 11-22-33 11-22-33-44 1

Re: n values in one fieldType

2013-01-19 Thread blopez
I'll always query on the set of 6 values, but in some cases, the matching doesn't need to be exact. I mean, an usual query (you know, 6 integer values) could be exact matching for the first 4 values, but then a range for the other 2 values. What do u think would be the best way to face it? --

Re: n values in one fieldType

2013-01-18 Thread Mike Schultz
It depends on what kind of behavior you're looking for. if for your queries the order of the 6 integer values doesn't matter you could do: then you could query with ORed or ANDed integer values over that field. If the order matters but you always query on the "set" of 6 values, then you turn y