[haiku-development] Querying integer attributes

Hi there!

I created a custom filetype with an extra attribute of the type integer 8bit, since I just store numbers between 1-10. I added the attribute to the index with "mkindex -t int DVDdb:rating".

I fill in a number and listattr shows correctly: "Int-8  1  "DVDdb:rating"

Only, a query just won't find the thing.
Am I going wrong somewhere or is there a bug concerning integer attributes?
I also experienced that the trick to copy already existing files to add them to the index doesn't work all the time properly. Should I try to find some pattern and submit a bug report?

Thanks,
Humdinger

--
--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=--
Deutsche Haiku News @ http://haiku-gazette.blogspot.com

Other related posts: