Shyli's Enterprise Search Platform Forum
Welcome Guest Active Topics | Log In | Register

New Topic Post Reply Tag as favorite
rolex
Guest
#1 Posted : Thursday, February 25, 2010 3:05:27 PM

Rank: Guest

Posts: 142
Points: 473
Bell replica watches & Ross is known in all over the world as replica rolex a manufacturer of uniquely designed watches.fake watches Every year it releases new models that always have fake rolex great success with watch connoisseurs from replica watch all around the world. In this year the replica watches company released the BR Minuteur rolex Tourbillon that features fantastic innovations.omega watches Unlike all other square shaped Bell & Ross omega watches this one has breitling a big rectangular case (44х50 mm). The cartier watch has a rounded carbon dial with cartier watches additional sub-dials: chronograph, power tag heuer reserve indicator and stop watch. The breitling watches greatest feature of the watch is the armani watches tourbillon with bridges that are made out armani of anodized aluminium. The audemars piguet tourbillon is coated with gold that montblanc watches harmoniously matches the case that is patek philippe made out of replica watches gold. Bell & Ross released rolex watches only 30 pieces of BR Minuteur Tourbillon. In our tag heuer watch store you will find Bell & Ross Instrument Dual Time replica watches of the highest rolex quality.
cominvent Offline
#2 Posted : Thursday, February 25, 2010 4:12:27 PM

Rank: Advanced Member

Posts: 30
Points: 90
Location: Oslo, Norway
Have you read the chapter "Field Collapsing (including document removal)" in Query Language and Parameters Guide?

Your field to collapse on must
* be uint32, i.e. you must generate a numeri hash for the domain strings. There is a docproc to do taht
* have fullsort="yes" in index profile

Say your numeric field is "domainhash", then you query like this: &collapseon=batvdomainhash&collapsenum=10

Good luck.
Cominvent AS - www.cominvent.com
High-end FAST ESP consulting and training
Jan Høydahl - Gründer & senior architect
sujithjoseph Offline
#3 Posted : Thursday, February 25, 2010 5:37:31 PM

Rank: Advanced Member

Posts: 32
Points: 96
Location: CA / USA
Clone the IntegerChecksummer doc proc stage and set the attributes as url.domain:fieldcollapseid. Make sure that you select random as 1, to randomize null values for domain field if any. As mentioned by cominvent, it should be defined in index profile as <field name="fieldcollapseid" type="uint32" fullsort="yes" index="yes"/> . If you have only one field to collapse on, you can define this <field-collapsing name="collapse"> <field-ref name="fieldcollapseid"/> </field-collapsing> within the <result-specification></result-specification> tags in index profile. In the http query, you can append the following parameters &collapse=1&collapsenum=<# of duplicate documents to be collapsed>. In the search results, check for the attribute morehits / fccount in the HIT tag per result document. FCOCOUNT value has the total number of documents that are available in the search results with the same fieldcollapseid value. For eg. if you do a search with the following parameters &collapse=1&collapsenum=1 (to return back only a single unique result per domain), you will get results like this :
<HIT NO="1" RANK="11300" SITEID="379125557" MOREHITS="0" FCOCOUNT="2">
<HIT NO="2" RANK="11300" SITEID="379125558" MOREHITS="0" FCOCOUNT="4">

which suggests that there are 2 urls with the same domain for hit #1 and 4 documents with the same domain for hit #2. In this case, you will need to do a fielded search on fieldcollapseid:<value of siteid or fieldcollapseid of that document> to return back all results under the domain, when the user selects 'Show more' link in Front end UI.

If you do a search with the following parameters &collapse=1&collapsenum=2 (to return back only a 2 results per domain, so that you could intend the seconds result from the same domain in Front end UI), you will get results like this :

<HIT NO="1" RANK="11300" SITEID="379125557" MOREHITS="1" FCOCOUNT="2">

<HIT NO="2" RANK="11300" SITEID="379125557" MOREHITS="0" FCOCOUNT="2">

<HIT NO="3" RANK="11300" SITEID="1812064047" MOREHITS="0" FCOCOUNT="1">


You will see that the SITEID for the first 2 results are the same and morehits has a value of 1 in hit #1, which suggests that there is one more result with the same siteid. Keep in mind that the navigator counts that you will see in the search results, does include the count for collapsed results as well.

Thanks,
Sujith Joseph
Guest
#4 Posted : Friday, February 26, 2010 12:16:02 PM

Rank: Guest

Posts: 142
Points: 473
Sujith, Cominvent this works great if I want to collapse results on all sites, but what I want to achieve is to collapse only on the first result like google collapses on the first result only and the rest are displayed in normal mode.

Is this possible to do this?

Thank you,
Varun

cominvent Offline
#5 Posted : Friday, February 26, 2010 1:04:15 PM

Rank: Advanced Member

Posts: 30
Points: 90
Location: Oslo, Norway
I don't understand your requirement. Could you give a detailed example, showing how hits from various domains are grouped in the top 10 results?
Cominvent AS - www.cominvent.com
High-end FAST ESP consulting and training
Jan Høydahl - Gründer & senior architect
cominvent Offline
#6 Posted : Friday, February 26, 2010 1:19:51 PM

Rank: Advanced Member

Posts: 30
Points: 90
Location: Oslo, Norway
Searching Google for "Yahoo" gives this result set, see image:


If you look carefully, each and every result is from a unique domain. Hit 1 is from www.yahoo.com, hit 2 from mail.yahoo.com, hit 3 from search.yahoo.com etc.
Only www.yahoo.com had multiple results for same domain obviously, and is collapsed. Sub-domain IS part of domain, and counts as unique.

BTW, Google probably does more than just simple collapse. It seems they do not always show the "show more..." link, even if there clearly are more hits from that domain. Also, sometimes they choose to display two non-indented links to same site, I don't know their rules for this, but there is nothing that stops you from making your own front end logic of how to display hits.
Cominvent AS - www.cominvent.com
High-end FAST ESP consulting and training
Jan Høydahl - Gründer & senior architect
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply Tag as favorite
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.