Great, I think I can achieve what I want by combining "select" and
"cartersian" functions in my expression. Thanks a lot for help!
Regards,
Pratik
On Wed, Mar 15, 2017 at 10:21 AM, Joel Bernstein wrote:
> I haven't created the jira ticket for this yet. It's fairly quick to
> implement but the S
I haven't created the jira ticket for this yet. It's fairly quick to
implement but the Solr 6.5 release is just around the corner. So most
likely it would be in the Solr 6.6. It will be committed fairly soon
though so if you want to use master, or branch_6x you can experiment with
it earlier.
Joe
Wow, this is interesting! Is it going to be a new addition to solr or is it
already available cause I can not find it in documentation? I am using solr
version 6.4.1.
On Tue, Mar 14, 2017 at 7:41 PM, Joel Bernstein wrote:
> I'm going to add a "cartesian" function that create a cartesian product
I'm going to add a "cartesian" function that create a cartesian product
from a multi-value field. This will turn a single tuple with a multi-value
into multiple tuples with a single value field. This will allow the fetch
operation to work on ancestors. It also has many other use cases. Sample
synta
Hi, Joel. Thanks for the reply.
So, I need to do some graph traversal queries for my use case. In my data
set, I have concepts and events.
concept : {name, address, bio ..},
> event: {name, date, participantIds:[concept1, concept2...] .}
Events connects two or more concepts. So, this is
Wow that's an interesting expression!
The problem is that you are trying to fetch using the ancestors field,
which is multi-valued. fetch doesn't support multi-value join keys. I never
thought someone might try to do that.
So , your attempting to get the concept names for ancestors?
Can you expl
I have two types of documents in my index. eventLink and concepttData.
eventLink { ancestors:[,] }
conceptData-{ id:id1, conceptid, concept_name . }
Both are in same collection.
In my query, I am doing a gatherNodes query wrapped in some other function
and ultimately I am getting a b