[Xesam] Why is vendor.maxhits read-only?

Joe Shaw joe at joeshaw.org
Tue Dec 18 15:19:48 PST 2007


Hi,

On 12/18/07, jamie McCracken <jamie.mccrack at googlemail.com> wrote:
> I would suggest Beagle use  sqlite to buffer results to a temporary
> table on disk (SQL : Create Temporary Table - it gets automatically
> deleted when you close the db connection that created it) instead of
> holding them in memory to avoid resource problems.
>
> Sqlite also provides paging (limit and offset) so you can kill two birds
> with one stone if you use this!

For our particular use, just storing the Lucene document IDs sorted by
relevance would be a lot faster and simpler.

Joe


More information about the Xesam mailing list