Bug #48349
closedFile->isIndexed() triggers indexing
0%
Description
isIndexed is not used to trigger indexing and it should not do this based on the naming of the function.
Change the API such that isIndexed does not trigger the indexing.
The whole indexing API should get another look as this concept looks rather fragile currently.
Updated by Philipp Gampe over 11 years ago
Note that is function returns an exception if a file can not be indexed with is not documented to the API.
The internal function getIndexRecord
as a flag to avoid the indexing which is currently not used in the class. This flag should be used as it most likely was introduced for this purpose.
Updated by Philipp Gampe over 11 years ago
This behavior is currently documented with a unit test :(
Updated by Sebastian Fischer over 10 years ago
In current trunk the method returns always true.
Updated by Frans Saris over 10 years ago
- Status changed from New to Rejected
- Is Regression set to No
All files are indexed since 6.2 thats why isIndexed returns always true is only there for backwards compatibility.