taskXML repository / search engine - Tasks: task #3093, LuceneDataStore : optimize count()


You are not allowed to post comments on this tracker with your current authentication level.

task #3093: LuceneDataStore : optimize count()

Submitter:  Pierrick Brihaye <brihaye>
Submitted:  Thu 05 Feb 2004 08:30:29 AM UTC
Should Start On:  Thu 05 Feb 2004 12:00:00 AM UTC Should be Finished on:  Thu 05 Feb 2004 12:00:00 AM UTC
Category:  None Priority:  1 - Later
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Release:  None
Effort:  0.00

Thu 05 Feb 2004 08:30:29 AM UTC, original submission:  

We should use a private member that is initialized when the datastore itself is initialized.

Then, we should increment this counter when a document is added and decrement it when a document is deleted.

size() would simply return this member

We could so give more stats in <sdx:searchLocations>.

Pierrick Brihaye <brihaye>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code