i want realize a priorityqueue not limited persistent (not all in memory) using lucene. I found on documemtation the class PriorityQueue. So i ask you clarifications: 1) PriorityQueue work all in memory or not? 2) if i develop on my own a class making a lucine storage where i search by priority and index has same performance? 3) other sugestion for the best solution based on your esperience about lucene ?