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-1234 Corrected indexing and querying of BOOLEAN properties #164

Merged
merged 1 commit into from Aug 8, 2011

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Aug 8, 2011

Query nodes based upon custom node types with BOOLEAN properties did work, whereas querying nodes based upon built-in node types with BOOLEAN properties did not work. This fix corrects one error in the way properties are indexed, and another in how constraints against BOOLEAN properties are transformed into Lucene queries. These two errors cancelled each other out for properties on custom node types, but caused issues with properties on built-ins.

Once this fix is applied (through an upgrade to 2.6.0.Final, the indexes should be rebuilt to correct the existing indexes.

All unit and integration tests pass, including several new tests written to duplicate/verify the problem.

Query nodes based upon custom node types with BOOLEAN properties did work, whereas querying nodes based upon built-in node types with BOOLEAN properties did not work. This fix corrects one error in the way properties are indexed, and another in how constraints against BOOLEAN properties are transformed into Lucene queries. These two errors cancelled each other out for properties on custom node types, but caused issues with properties on built-ins.

Once this fix is applied (through an upgrade to 2.6.0.Final, the indexes should be rebuilt to correct the existing indexes.

All unit and integration tests pass, including several new tests written to duplicate/verify the problem.
@rhauch rhauch merged commit 2f894a5 into ModeShape:master Aug 8, 2011
@rhauch
Copy link
Contributor Author

rhauch commented Aug 8, 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