Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1263 Corrected indexing depth logic #203

Merged
merged 2 commits into from Sep 23, 2011
Merged

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Sep 23, 2011

The SearchEngineIndexer was doing math improperly. This doesn't appear to have affected any use cases except those that use the file system connector, since the file system connector uses its own maxDepth value (and ignores the value submitted by the indexer). It is in this case that the indexing stops one level too early.

Several new integration tests were created to verify the reported problems.

With a minor fix, the indexing operates correctly, and the new integration tests do indeed pass and demonstrate that the indexing (and the re-indexing) does indeed work properly.

The SearchEngineIndexer was doing math improperly. This doesn't appear to have affected any use cases except those that use the file system connector, since the file system connector uses its own maxDepth value (and ignores the value submitted by the indexer). It is in this case that the indexing stops one level too early.

Several new integration tests were created to verify the reported problems.

With a minor fix, the indexing operates correctly, and the new integration tests do indeed pass and demonstrate that the indexing (and the re-indexing) does indeed work properly.
@rhauch rhauch merged commit 93fc3a6 into ModeShape:master Sep 23, 2011
@rhauch
Copy link
Contributor Author

rhauch commented Sep 23, 2011

Merged into the 'master' and '2.5.x' branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant