Hi All,
I'm using the graph query parser to traverse a set of edge documents. An
edge looks like
"id":"edge1", "recordType":"journey", "Date":"2021-03-04T00:00:00Z", "Origin
":"AAC", "OriginLocalDateTime":"2021-03-04T05:00:00Z", "Destination":"AAB",
"DestinationLocalDateTime":"2021-03-04T07:00:00Z
I have a graph with disjoint sets of nodes connected indirectly with a
reference as shown below. Given an id is it possible to get the leaf node when
the depth is unknown?
[
{ id: A, child: { ref: B } },
{ id: B, child: { ref: C } },
{ id: C, child: { ref: D } },
.
.
{ id
How are you constructing the Stream with classes or using a Streaming
Expression?
In either case can you post either the code or expression?
Are there more errors in the logs? The place where this NPE is occurring is
that an underlying stream is null, which leads me to believe there would be
some
Can you provide a sample expression that would be able to reproduce this?
Are you able to try a newer version by chance - I know we've fixed a few
NPEs recently, maybe https://issues.apache.org/jira/browse/SOLR-14700
On Thu, Jan 21, 2021 at 4:13 PM ufuk yılmaz
wrote:
> Solr version 8.4. I’m gett
Solr version 8.4. I’m getting an unexplanetory NullPointerException when
executing a simple 2 level nodes stream, do you have any idea what may cause
this?
I tried setting /stream?partialResults=true&shards.tolerant=true and
shards.tolerant=true in nodes expressions, with no luck. I also tried
Have you looked at streaming?
https://lucene.apache.org/solr/guide/6_6/graph-traversal.html
Best,
Erick
> On Aug 27, 2019, at 6:47 AM, Komal Motwani wrote:
>
> Hi All,
>
> I am looking at ways for doing distributed graph query in solr. The data i
> am looking at can not fit into single core b
Hi All,
I am looking at ways for doing distributed graph query in solr. The data i
am looking at can not fit into single core because of some design
constraints neither can we use collections on solrCloud.
I could find a tech talk from Kevin Watters on the same and see he has
raised issues with s
from one of the shards in the rec_coll collection that are generated
> by this request? The logs will show the query that is actually being run on
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
>
> On Wed, Nov 7, 2018 at 1:22 PM Vidhya Kailash
> wrote:
>
> > I am u
Joel Bernstein
http://joelsolr.blogspot.com/
On Wed, Nov 7, 2018 at 1:22 PM Vidhya Kailash
wrote:
> I am unable to get even simple graph traversal expressions like the one
> below to work in my environment (7.4 and 7.5 versions). They simply yield
> no results, even though I know the da
I am unable to get even simple graph traversal expressions like the one
below to work in my environment (7.4 and 7.5 versions). They simply yield
no results, even though I know the data exists.
curl --data-urlencode 'expr=gatherNodes(rec_coll,
walk="35d40c4b9d6ddfsdf45cbb0fe4aesd7
events" from a search()
function which I use as my seed expression for gatherNodes().
I am doing a two hop graph traversal as follows.
having(
having(
gatherNodes(
collection1,
having(
gatherNodes(
collection1,
search(.),
scope of graph traversal by applying some filter along the
> way as follows.
>
> gatherNodes(emails,
> walk="john...@apache.org->from",
> fq="body:(solr rocks)",
> gather="to")
>
>
> Is it possible to rep
We can limit the scope of graph traversal by applying some filter along the
way as follows.
gatherNodes(emails,
walk="john...@apache.org->from",
fq="body:(solr rocks)",
gather="to")
Is it possible to replace "body:(sol
Ah. I'll do some testing to see exactly how nodes function behaves when a
node links to itself.
Joel Bernstein
http://joelsolr.blogspot.com/
On Thu, Jun 7, 2018 at 5:06 AM, Christian Spitzlay <
christian.spitz...@biologis.com> wrote:
> Hi,
>
>
> > Am 07.06.2018 um 03:20 schrieb Joel Bernstein :
Hi,
> Am 07.06.2018 um 03:20 schrieb Joel Bernstein :
>
> Hi,
>
> At this time cycle detection is built into the nodes expression and cannot
> be turned off. The nodes expression is really designed to do a traditional
> breadth first search through a graph where cycle detection is needed so you
Hi,
At this time cycle detection is built into the nodes expression and cannot
be turned off. The nodes expression is really designed to do a traditional
breadth first search through a graph where cycle detection is needed so you
don't continually walk the same nodes.
Are you looking to do random
Hi,
is it possible to bypass the cycle detection so a traversal
can revisit nodes?
The documentation at
https://lucene.apache.org/solr/guide/7_3/graph-traversal.html#cycle-detection
does not mention any and lists reasons why the cycle detection is in place.
But if I were willing to live with the
n the queries.
>
>
>
>
>
>
>
>
> Adding multi-value field support is a fairly high priority so I would
> expect this to be coming in a future release.
>
>
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Fri, Mar 10, 2017 at 5:15
treaming
>> > > Expressions
>> > > > > which Joel implemented to solve the same problem.
>> > > > >
>> > > > > https://issues.apache.org/jira/browse/SOLR-10292
>> > > > > http://joelsolr.blogspot.com/2017/0
implemented to solve the same problem.
> > > > >
> > > > > https://issues.apache.org/jira/browse/SOLR-10292
> > > > > http://joelsolr.blogspot.com/2017/03/streaming-nlp-is-
> > > > > coming-in-solr-66.html
> > > > >
om/2017/03/streaming-nlp-is-
> > > > coming-in-solr-66.html
> > > >
> > > > Regards,
> > > > Pratik
> > > >
> > > > On Sat, Oct 28, 2017 at 7:38 PM, Joel Bernstein
> > > > wrote:
> > &g
>
> > > On Sat, Oct 28, 2017 at 7:38 PM, Joel Bernstein
> > > wrote:
> > >
> > > > I don't see a jira ticket for this yet. Feel free to create it and
> > reply
> > > > back with the link.
> > > >
> > > > Joe
rote:
> >
> > > I don't see a jira ticket for this yet. Feel free to create it and
> reply
> > > back with the link.
> > >
> > > Joel Bernstein
> > > http://joelsolr.blogspot.com/
> > >
> > > On Fri, Oct 27, 2017 at 9:55 AM, Kojo wrot
n't see a jira ticket for this yet. Feel free to create it and reply
> > back with the link.
> >
> > Joel Bernstein
> > http://joelsolr.blogspot.com/
> >
> > On Fri, Oct 27, 2017 at 9:55 AM, Kojo wrote:
> >
> > > Hi, I was looking for in
PM, Joel Bernstein wrote:
> I don't see a jira ticket for this yet. Feel free to create it and reply
> back with the link.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Fri, Oct 27, 2017 at 9:55 AM, Kojo wrote:
>
> > Hi, I was looking for i
I don't see a jira ticket for this yet. Feel free to create it and reply
back with the link.
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, Oct 27, 2017 at 9:55 AM, Kojo wrote:
> Hi, I was looking for information on Graph Traversal. More specifically,
> support to sear
Hi, I was looking for information on Graph Traversal. More specifically,
support to search graph on multivalued field.
Searching on the Internet, I found a question exactly the same of mine,
with an answer that what I need is not implemented yet:
http://lucene.472066.n3.nabble.com/Using-multi
articipantID's gathered in step 1.
>
> Let me know if you have other questions about how to structure the data or
> run the queries.
>
>
>
>
>
>
>
>
> Adding multi-value field support is a fairly high priority so I would
> expect this to be coming in a future release.
>
Hi Joel,
Any idea from when multi value field is supported for gatherNodes ? I am
using version 6.5 ? Is it already there ?
Kindly update,
Ganesh
--
View this message in context:
http://lucene.472066.n3.nabble.com/Using-multi-valued-field-in-solr-cloud-Graph-Traversal-Query
; > > > > > exception
>> > > > > > > > > has occurred on the server, refer to server log for
>> details.
>> > > > > > > > > at java.util.concurrent.FutureTask.report(FutureTask.
>> > java:122)
>> > > > &g
sed by: java.lang.RuntimeException: java.io.IOException:
> > > > > > > > > java.util.concurrent.ExecutionException:
> > java.io.IOException:
> > > > -->
> > > > > > > > > http://loc
atherNodesStream.java:406)
> > > > > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > > > > > > > at org.apache.solr.common.util.ExecutorUtil$
> > > > > > MDCAwareThreadPoolExecutor.
> > > > >
t java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > > > > > > ThreadPoolExecutor.java:617)
> > > > > > > ... 1 more
> > > > > > > Caused by: java.io.IOException: java.util.concurrent.
> > > > > ExecutionExcep
openStreams(CloudSolrStream.java:451)
> > > > > > at org.apache.solr.client.solrj.io.stream.CloudSolrStream.
> > > > > > open(CloudSolrStream.java:308)
> > > > > > at org.apache.solr.client.solrj.io.stream.PushBackStream.open(
> > > &g
raph.GatherNodesStream$
> > > > > JoinRunner.call(GatherNodesStream.java:476)
> > > > > ... 6 more
> > > > > Caused by: java.util.concurrent.ExecutionException:
> > > java.io.IOException:
> > > > > --> http://localhost:8984/solr/email/:
rent.FutureTask.report(FutureTask.java:122)
> > > > at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> > > > at org.apache.solr.client.solrj.io.stream.CloudSolrStream.
> > > > openStreams(CloudSolrStream.java:445)
> > > > ...
read(
> > > SolrStream.java:238)
> > > at org.apache.solr.client.solrj.io.stream.CloudSolrStream$
> > > TupleWrapper.next(CloudSolrStream.java:541)
> > > at org.apache.solr.client.solrj.io.stream.CloudSolrStream$
> > > StreamOpener.call(CloudSolrStream.ja
uot;UTF-8"?> <'
> > at org.noggit.JSONParser.err(JSONParser.java:356)
> > at org.noggit.JSONParser.handleNonDoubleQuoteString(JSONParser.java:712)
> > at org.noggit.JSONParser.next(JSONParser.java:886)
> > at org.noggit.JSONParser.nextEvent(J
pleStream.
> expect(JSONTupleStream.java:97)
> at org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> advanceToDocs(JSONTupleStream.java:179)
> at org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> next(JSONTupleStream.java:77)
> at org.apache.solr.client.solrj.io.st
.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Mon, Mar 13, 2017 at 1:59 AM, Zheng Lin Edwin Yeo >
> wrote:
>
> > Hi,
> >
> > I am getting this error when I tried to run a query for Graph Traversal
> > using Stream
or when I tried to run a query for Graph Traversal
> using Streaming Expressions:
>
> {
> "result-set":{
> "docs":[{
> "EXCEPTION":"java.util.concurrent.ExecutionException:
> java.lang.RuntimeException: java.io.IOException:
> java
Hi,
I am getting this error when I tried to run a query for Graph Traversal
using Streaming Expressions:
{
"result-set":{
"docs":[{
"EXCEPTION":"java.util.concurrent.ExecutionException:
java.lang.RuntimeException: java.io.IOException:
java
et me know if you have other questions about how to structure the data or
run the queries.
Adding multi-value field support is a fairly high priority so I would
expect this to be coming in a future release.
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, Mar 10, 2017 at 5:15 PM, Prat
I am trying to do a graph traversal query using gatherNode function. I am
seeding a streaming expression to get some documents and then I am trying
to map their ids(conceptid) to a multi valued field "participantIds" and
gather nodes.
Here is the query I am doing.
gatherNodes(c
On Wed, Oct 26, 2016 at 10:46 AM Joel Bernstein wrote:
> Grant, can you describe your use case? Currently we can filter on the
> relationship using a filter query. So I was wondering what use case would
> involve retrieving the relationship. Are you looking to discover what
> relationships are av
Grant, can you describe your use case? Currently we can filter on the
relationship using a filter query. So I was wondering what use case would
involve retrieving the relationship. Are you looking to discover what
relationships are available? One of the assumptions I made was that users
would know
The other way to think about is: I want to put labels on the edges. In my
case, the label is the relationship, in your case, the label is the rating
or author.
On Wed, Oct 26, 2016 at 7:26 AM Yonik Seeley wrote:
> On Wed, Oct 26, 2016 at 7:13 AM, Grant Ingersoll
> wrote:
> > On Tue, Oct 25, 20
On Wed, Oct 26, 2016 at 7:13 AM, Grant Ingersoll wrote:
> On Tue, Oct 25, 2016 at 6:26 PM Yonik Seeley wrote:
>
> In your example below it would be akin to injecting the rating onto those
> responses as well, not just in the 'fq'.
Gotcha... Yeah, I remember wondering how to do that myself.
-Yon
Yonik AND rating_i:5",
> > fl="book_s,user_s,rating_i",sort="user_s asc"),
> >walk="book_s->book_s",
> >gather="user_s",
> >fq="rating_i:[4 TO *] -user_s:Yonik",
> >trackTraversal=true )&
eviews","field":"user_s","ancestors":["book1"],"level":1},
>
> {"node":"Maria","collection":"reviews","field":"user_s","ancestors":["book2"],"level&q
TO *] -user_s:Yonik",
>trackTraversal=true )'
>
> {"result-set":{"docs":[
> {"node":"Haruka","collection":"reviews","field":"user_s","
> ancestors":["book1"],"level"
s","field":"user_s","ancestors":["book1"],"level":1},
{"node":"Maria","collection":"reviews","field":"user_s","ancestors":["book2"],"level":1},
{"EOF&qu
Hi,
I'm playing around with the new Graph Traversal/GatherNodes capabilities in
Solr 6. I've been indexing Yago facts (
http://www.mpi-inf.mpg.de/departments/databases-and-information-systems/research/yago-naga/yago/downloads/)
which give me triples of something like subject-relations
53 matches
Mail list logo