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 UTCShould be Finished on: Thu 05 Feb 2004 12:00:00 AM UTC
Category: NonePriority: 1 - Later
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenRelease: 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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1