Thanks for the prompt Peter!
I got bit jumbled up there. Are you saying that SDG's core api does not
allow to index same node with different KEYS? Or it does not allow same node
to be in different INDICES?

In my case my entity looks like this:
@NodeEntity
public class Product {
        @Indexed(indexName = "product-search", fulltext=true)
        String name;
        @Indexed(indexName = "product-search")
        int expectedAmount;
        @Indexed(indexName = "product-search", fulltext=true)
        String details;
        ...
}

and when I query across these keys, it is giving me correct results. But for
this I used org.neo4j.graphdb.index.Index and not SDG supported apis. In
short I am using SDG's annotation to index (and I index same node to
multiple keys), but I search using neo4j core API's. I wasn't sure if this
the right way to do it. Sorry if I am messing around search terminology, my
search knowledge is limited so far :(


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-compound-query-across-keys-tp3280897p3281008.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to