-
Notifications
You must be signed in to change notification settings - Fork 871
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
bug in lucene select #5719
Comments
Is it correct that a lucene index should be able to index lists? I also just tried it with Studio and it doesn't work. I get.
With the index set on a property of an embedded list of strings. Scott |
Lucene is a index engine designed for indexing unstructured data. You can index what you want. if (keyValue instanceof Collection) { final Collection collectionKey = (Collection) keyValue; if (!containsCollection) for (int i = 1; i < collectionKey.size(); i++) { final OCompositeKey compositeKey = new OCompositeKey(firstKey.getKeys()); compositeKeys.add(compositeKey); } else -----> throw new OIndexException("Composite key cannot contain more than one collection item"); Simply in Lucene every key pratically is valid because it corrisponds to a lucene Document class (it is a generic problem valid not only for lists) . |
Other bug found: CREATE INDEX Manual2 FULLTEXT ENGINE LUCENE gives NullPointerException |
verified with tests. see coomits |
version 2.10
It seams it add just last element. In lucene arrays are handled natevely adding many fields with same name as many elements
The text was updated successfully, but these errors were encountered: