Hi thanks!!! I have done all that. I was able to achieve sorting as well. I have issue in fielded searching. The search for the custom field is not working. If I search for 'rating:4' i get no results, but in normal search results if i click explain, i am able to see records having rating 4 exist. the indexing/parsing is happening fine. plugin has been activated in nutch-site.xml . still i get no search results. any idea why?
On 6/23/06, TDLN <[EMAIL PROTECTED]> wrote:
You can start here for learning more about Nutch: http://wiki.apache.org/nutch/ And here is an excellent tutorial that covers getting your custom fields in the index: http://wiki.apache.org/nutch/WritingPluginExample If you have read all this you can come back and we will discuss sorting :) HTH Thomas On 6/19/06, Jayant Kumar Gandhi <[EMAIL PROTECTED]> wrote: > Hi All, > > I am planning/evaluating Nutch for my website. I will be have a page > with 3-4 custom metafields (field1, field2,...) with their values. I > need to be able to search using the field tag like field1:<search > term> field2:<seach term> etc. Also the will be shown 3-4 links using > which he can sort the results based on any of these custom fields. > I have been searching the net but I have not been able to find a > tutorial/how-to regarding this. I think the book 'Lucene in Action' > covers it, but I am not very sure about it. Also, I have not been able > to find it locally. > > Can someone please guide me with this? > > Thanks and Best Regards, > Jayant Gandhi. > > -- > www.jkg.in | http://www.jkg.in/contact-me/ > Jayant Kr. Gandhi > Student, > M.Tech. Computer Tech. Class of 2007, > IIT Delhi, India >
-- www.jkg.in | http://www.jkg.in/contact-me/ Jayant Kr. Gandhi | +91-9871412929 M.Tech. Computer Tech. Class of 2007, D-38, Aravali Hostel, IIT Delhi, Hauz Khas, Delhi-110016
