-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Search Predicates: match keywords with multiple properties using Or-step #940
Comments
supplement: |
I have find one alternative method, which use regex match replace contains match. The statement as follows:
Looking forward more efficient methods. |
In your schema description, it looks like the mixed indexes were created with The reason you are seeing the |
This question also sounds remarkably similar to #922, and it seems like there might be something related involved. |
Thank you for your time! First, the index for property, followed by JanusGraph docs 9.1.2. Mixed Index, should be created with
|
Actually, this seems like it is not working as intended.
Based on that, |
I have learnt JanusGraph default tokenization method, witch string less than 2-characters will be ignored. |
You might need to investigate using Elasticsearch Analysis Plugins to properly tokenize your target language. I don't think the default configuration can handle your character set correctly. |
To prevent confusion we have recently added a default template for new issues containing the guidelines as to what belongs in issues. Usage, configuration, and general questions should be asked in gitter, stackoverflow, or the janusgraph-users google group. Github issues are for reporting bugs, requesting new features, and tracking the development of JanusGraph. If your issue is still outstanding please consult one of the communities mentioned. If you still feel like your issue belongs here and was closed in error please feel free to repoen it. |
Hi there,
There are some situation that confused me, When I use
Text Predicate
search to match multiple properties in JanusGraph.Specification, I desire to match keywords with multiple properties. For example, match keywords with both properties
moviename
andrdfs:label
, I write statements with Gremlin or-step, just show as below:In expectation, the 3rd statement generate a union set of the 1st and 2nd statement. But, in practice, the 3rd return null.
Statement execute result posted as follows:
I wonder if the or-step is not compatible with text-predicate search.
Besides, if thers is any alternative ways that will reach my goals?
Thanks for your attention!
Supplementary - Component and version The janusgraph version is 0.2.0 released on 12 Oct 2017. The storage backend is HBase with version 1.1.2. The index backend is Elasticsearch with version 5.5.1.
Mixed schema built before import data:
TinkerPop3 Documentation or-step copied as below:
statement profile
statement explain
The text was updated successfully, but these errors were encountered: