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()

Submitted by:  Pierrick Brihaye <brihaye>
Submitted on:  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
Percent Complete:  0% Assigned to:  None
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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.3