Hi,

well, it's at least a consistent behavior :)

Currently we do these collection searches as textual similarity 
searches. A given value of 200 for iso translates into the sql search 
string "iso is like %200%" which returns 200 but also 2000, 3200 and the 
like.

One idea of improvement could be to differentiate three cases:

1) a pure numerical value translates into "iso = value"

2) a pure numerical value preceded by a comparison operator (<, >, <=, 
 >=, <>, =) translates into "iso operator value"

3) all other cases like "", "%", "100%" translate into the original 
search "iso is like %value%"

One could do the same for the aperture property. For datetime it would 
also make sense to have comparison operators. However, here the current 
behavior is quite reasonable "2013" gives all images taken in 2013 and 
this simplicity should probably be kept.

Ulrich

Am 11.11.2013 23:57, schrieb Matze:
> Hi,
>
> recently I noticed, that something goes wrong with collections ISO
> filtering, so I made some testshoots with the following ISO values: 100,
> 200, 320, 1000, 2000 and 3200.
>
> It turns out that when I filter for ISO 100 it shows the pics with 100
> and 1000, if I filter for 200 I get the pics 200, 2000 and 3200,
> filtering for 320 gives 320 and 3200, whereas filtering for 1000, 2000
> or 3200 only give the corresponding pic.
>
> Is this intended behaviour?
>
> Greetings
> Matthias
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>


-- 
*Ulrich Pegelow* · Benrodestraße 76 · 40597 Düsseldorf

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to