Collapse field

hello
I find the discussion
http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/fc74f7cf7977bd15/11c4b9cb355e9e0e?lnk=gst&q=collapse#11c4b9cb355e9e0e
but i need to know is the feature is implemented or...is there is any
way to get the total search values so that i can collapse it
manually...

it's not implemented:

but you can do it on the client side with a size of 200 or, say 500

increasing the size to get all results is not recommended!

Regards,
Peter.

On 14 Feb., 05:29, NANA naveen....@gmail.com wrote:

hello
I find the discussionhttp://groups.google.com/a/elasticsearch.com/group/users/browse_threa...
but i need to know is the feature is implemented or...is there is any
way to get the total search values so that i can collapse it
manually...

You are correct we can do it exactly in client side but my case is this ..

1)i have an local web search with 10 million document and the thing is i
need to collapse and give an single search result per domain name say if we
have an 10,000 doc for search result *web design *if we get some 1000 or 200
document and collapse may be the first 1000 will be from same domain so it
may go wrong....

  1. is there is any way to get the total no of results in ES for an search
    term....

On Tue, Feb 15, 2011 at 12:10 AM, Karussell tableyourtime@googlemail.comwrote:

it's not implemented:

Issues · elastic/elasticsearch · GitHub

but you can do it on the client side with a size of 200 or, say 500

increasing the size to get all results is not recommended!

Regards,
Peter.

On 14 Feb., 05:29, NANA naveen....@gmail.com wrote:

hello
I find the discussionhttp://
groups.google.com/a/elasticsearch.com/group/users/browse_threa...
but i need to know is the feature is implemented or...is there is any
way to get the total search values so that i can collapse it
manually...

--
with Thanks & Regards ,
Naveen.A.N
http://www.zeeroos.com
P* *Please don't print this e-mail unless you really need to. Save the
environment

may be the first 1000 will be from same domain

then you should probably create one doc per domain or create an
additional index with one doc per domain (use highlighting to get the
actual snippet) ?

or another (bad) workaround could be to use term facets (faceting on
the domain name ...) and use that info to nest deeper

do you mean SearcHits.totalHits?

On 14 Feb., 19:54, "Naveen.A.N" naveen....@gmail.com wrote:

You are correct we can do it exactly in client side but my case is this ..

1)i have an local web search with 10 million document and the thing is i
need to collapse and give an single search result per domain name say if we
have an 10,000 doc for search result *web design *if we get some 1000 or 200
document and collapse may be the first 1000 will be from same domain so it
may go wrong....

  1. is there is any way to get the total no of results in ES for an search
    term....

On Tue, Feb 15, 2011 at 12:10 AM, Karussell tableyourt...@googlemail.comwrote:

it's not implemented:

Issues · elastic/elasticsearch · GitHub

but you can do it on the client side with a size of 200 or, say 500

increasing the size to get all results is not recommended!

Regards,
Peter.

On 14 Feb., 05:29, NANA naveen....@gmail.com wrote:

hello
I find the discussionhttp://
groups.google.com/a/elasticsearch.com/group/users/browse_threa...
but i need to know is the feature is implemented or...is there is any
way to get the total search values so that i can collapse it
manually...

--
with Thanks & Regards ,
Naveen.A.Nhttp://www.zeeroos.com
P* *Please don't print this e-mail unless you really need to. Save the
environment