Forgot to mention, I am using Nutch 0.7.2

On 6/26/06, Jayant Kumar Gandhi <[EMAIL PROTECTED]> wrote:
> Short Desc:- I need to develop the links to allow the user to narrow
> down or broaden the search results. How can I achieve it? I have
> thought of the possible algo for it which is given in the end.
>
> Detailed Desc. with example:-
> Suppose I have 3 fields that are indexed and searchable namely
> vehicletype, vehiclebrand, vehiclemodel.
> The hierarchy is as follows.. there may be many vehicletypes.. each
> vehicletype may have many vehiclebrands.. each vehiclebrand may have
> many models
>
> Suppose there are 3 possible values of vehicletype: car,truck,bike
> brand for car might be toyota,lexus,ford,honda etc
> brand for bike might be suzuki,honda etc
> models are like modelA, modelB,modelC etc
>
> The person searches for "something vehiclebrand:lexus". Some results
> will come. I want to give the user the ability to narrow down/ broaden
> the results depending upon the results recieved. Suppose 5 modelA
> come, 3 modelB come in the results.
> I will like to give the user a link to narrow down on one of these
> models, so essentially making the search query as "something
> vehiclebrand:lexus vehiclebrand:modelA" or "something
> vehiclebrand:lexus vehiclebrand:modelB"
> Also to allow him to broaden the search results to all cars rather
> than just lexus cars, so suggesting the query "something
> vehicletype:car" or the broadest query "something"
>
> Again, if the user searches for this broadest query "something", we
> will get suggestion to narrow down either to vehicletype car or truck
> or bike or maybe even to vehiclebrand:lexus
>
> Possible algo:-
> Traverse all the results, read all the field values of the indexfields
> for each result and do a frequency analysis. On the values of the
> indexfields.
>
> Does anything exist which can help me? What are the classes I need to look at?
>

-- 
www.jkg.in | http://www.jkg.in/contact-me/
Jayant Kr. Gandhi

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to