You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: Lucene should create an index on all fields regardless of what constraints are on them, OR throw an error if it can't create it for some reason
Actual: Lucene works properly when no constraints are given for a field. When, for example MAX, constraint is added to a string field then it fails to create indexes and throws no errors
Steps to reproduce the problem
In an empty database:
CREATE CLASS test
CREATE PROPERTY test.field1 STRING
CREATE PROPERTY test.field2 STRING
ALTER PROPERTY test.field2 MAX 8
CREATE PROPERTY test.field3 STRING
CREATE PROPERTY test.field4 STRING
INSERT INTO test CONTENT {"field1":"One", "field2":"Two", "field3":"Three", "field4":"Four"}
INSERT INTO test CONTENT {"field1":"Five", "field2":"Six", "field3":"Seven", "field4":"Eight"}
CREATE INDEX test.field1 on test(field1) fulltext engine lucene
SELECT count(*) FROM index:test.field1
Result: count=2 which is correct
CREATE INDEX test.field2 on test(field2) fulltext engine lucene
SELECT count(*) FROM index:test.field2
Result: count=0 which is incorrect!
Important Questions
Runninng Mode
Standard Windows install running server at default port accessed via Studio in browser
Misc
Single computer setup.
OrientDB Version
v2.1.16
Operating System
Windows 7 x64
Java Version
Java 8 Update 91
The text was updated successfully, but these errors were encountered:
Expected behavior and actual behavior
Expected: Lucene should create an index on all fields regardless of what constraints are on them, OR throw an error if it can't create it for some reason
Actual: Lucene works properly when no constraints are given for a field. When, for example MAX, constraint is added to a string field then it fails to create indexes and throws no errors
Steps to reproduce the problem
In an empty database:
Result: count=2 which is correct
Result: count=0 which is incorrect!
Important Questions
Runninng Mode
Standard Windows install running server at default port accessed via Studio in browser
Misc
Single computer setup.
OrientDB Version
v2.1.16
Operating System
Windows 7 x64
Java Version
Java 8 Update 91
The text was updated successfully, but these errors were encountered: