Hacker News new | past | comments | ask | show | jobs | submit login

How can you change statistics like number of votes without reindexing?

I don't see how that is possible unless that field wasn't indexed.




This would be stored in a numeric value. IndexTank (and Searchify which runs IndexTank) stores numeric values in a normal array in RAM. So an update is essentially equivalent to:

array[index] = updatedValue;

And then you can sort or filter by these numeric values, as well as the usual text searching. More info in the docs here: http://www.searchify.com/documentation/python-client#documen...

Note that if you update a text field, it does a normal reindex (although it's true real-time in IndexTank).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: