You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Simon Wistow <si...@thegestalt.org> on 2006/12/14 23:22:50 UTC
Search Suggestions
Yahoo! has a search suggestion feature so that if you search for say
'shoes' then it also reccomends
payless shoes, jordan shoes, aldo shoes, nike shoes, bakers shoes
and a bunch of others.
Has anyone built something like that in Lucene?
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Search Suggestions
Posted by Simon Wistow <si...@thegestalt.org>.
On Fri, Dec 15, 2006 at 04:01:33PM +0530, Kapil Chhabra said:
> I have implemented such a feature. Just to add on to what Bhavin said,
> your results would be more relevant if you index only 2 & 3 token
> phrases and display a 3 token suggestion if the current search keyword
> consists of 2 tokens and so on.
Ahah, genius.
Thanks muchly, that'll do the trick.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Search Suggestions
Posted by Kapil Chhabra <ka...@naukri.com>.
Exactly.
I have implemented such a feature. Just to add on to what Bhavin said,
your results would be more relevant if you index only 2 & 3 token
phrases and display a 3 token suggestion if the current search keyword
consists of 2 tokens and so on.
Any suggestion beyond 3 tokens might not be very relevant. [depends on
the data in your index]
Also, just to reduce the size and complexity, you may safely skip the
single token search history.
All the best.
kapilChhabra
Bhavin Pandya wrote:
> Hi simon,
>
> You can index the past query log for your search application and
> search the index the way you want...
>
> - Bhavin pandya
>
>
> ----- Original Message ----- From: "Simon Wistow" <si...@thegestalt.org>
> To: "Lucene" <ja...@lucene.apache.org>
> Sent: Friday, December 15, 2006 3:52 AM
> Subject: Search Suggestions
>
>
>> Yahoo! has a search suggestion feature so that if you search for say
>> 'shoes' then it also reccomends
>>
>> payless shoes, jordan shoes, aldo shoes, nike shoes, bakers shoes
>>
>> and a bunch of others.
>>
>> Has anyone built something like that in Lucene?
>>
>> Simon
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Search Suggestions
Posted by Bhavin Pandya <bh...@rediff.co.in>.
Hi simon,
You can index the past query log for your search application and search the
index the way you want...
- Bhavin pandya
----- Original Message -----
From: "Simon Wistow" <si...@thegestalt.org>
To: "Lucene" <ja...@lucene.apache.org>
Sent: Friday, December 15, 2006 3:52 AM
Subject: Search Suggestions
> Yahoo! has a search suggestion feature so that if you search for say
> 'shoes' then it also reccomends
>
> payless shoes, jordan shoes, aldo shoes, nike shoes, bakers shoes
>
> and a bunch of others.
>
> Has anyone built something like that in Lucene?
>
> Simon
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org