Problem Parents & Children limit, version 0.19.8


(Gustavo Maia) #1

hi,

I'm using ES 0.19.8 version.
I have some problem when use Parents & Children.
When i have only 10 Children the index and search are OK, function perfect.
But when i add more 100 children in the same Parent, the same search
if i done, don't function, don't return any results.

Anybody could help me ?

--
Gustavo Maia


(Gustavo Maia) #2

Hi,

I had create a gist.

2012/7/18 Gustavo Maia gustavobbmaia@gmail.com:

hi,

I'm using ES 0.19.8 version.
I have some problem when use Parents & Children.
When i have only 10 Children the index and search are OK, function perfect.
But when i add more 100 children in the same Parent, the same search
if i done, don't function, don't return any results.

Anybody could help me ?

--
Gustavo Maia

--
Gustavo Maia


(Gustavo Maia) #3

I saw the problema,

The problem have when i execute search, if search return more 51
children have a problem.

See the class TopChildrenQuery.java

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

Hi,

I had create a gist.

https://gist.github.com/3140681

2012/7/18 Gustavo Maia gustavobbmaia@gmail.com:

hi,

I'm using ES 0.19.8 version.
I have some problem when use Parents & Children.
When i have only 10 Children the index and search are OK, function perfect.
But when i add more 100 children in the same Parent, the same search
if i done, don't function, don't return any results.

Anybody could help me ?

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia


(Gustavo Maia) #4

In the class QueryPhase.java
When i use TopChildrenQuery in the line 153 i can't compare using
topDocs.totalHits
if (topDocs.totalHits <= numDocs) {
break;
}

topDocs.totalHits have number os childrem match, need compare number
os parents return.

Anybody have this problem ?

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

I saw the problema,

The problem have when i execute search, if search return more 51
children have a problem.

See the class TopChildrenQuery.java

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

Hi,

I had create a gist.

https://gist.github.com/3140681

2012/7/18 Gustavo Maia gustavobbmaia@gmail.com:

hi,

I'm using ES 0.19.8 version.
I have some problem when use Parents & Children.
When i have only 10 Children the index and search are OK, function perfect.
But when i add more 100 children in the same Parent, the same search
if i done, don't function, don't return any results.

Anybody could help me ?

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia


(Gustavo Maia) #5

I opened this issue.

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

In the class QueryPhase.java
When i use TopChildrenQuery in the line 153 i can't compare using
topDocs.totalHits
if (topDocs.totalHits <= numDocs) {
break;
}

topDocs.totalHits have number os childrem match, need compare number
os parents return.

Anybody have this problem ?

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

I saw the problema,

The problem have when i execute search, if search return more 51
children have a problem.

See the class TopChildrenQuery.java

2012/7/19 Gustavo Maia gustavobbmaia@gmail.com:

Hi,

I had create a gist.

https://gist.github.com/3140681

2012/7/18 Gustavo Maia gustavobbmaia@gmail.com:

hi,

I'm using ES 0.19.8 version.
I have some problem when use Parents & Children.
When i have only 10 Children the index and search are OK, function perfect.
But when i add more 100 children in the same Parent, the same search
if i done, don't function, don't return any results.

Anybody could help me ?

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia

--
Gustavo Maia


(system) #6