Problem Parents & Children limit, version 0.19.8

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

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

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.

Problem Parents & Children limit, version 0.19.8 · GitHub

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

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.

Problem Parents & Children limit, version 0.19.8 · GitHub

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

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.

Problem Parents & Children limit, version 0.19.8 · GitHub

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