DS jha wrote: > Thanks for your reply. I looked at scoring-opic plugin - but looks like it > gets called at parsing/index time and not during search time, correct?
that is correct > > I am classifying content and assigning a category (or categories) at parse > time and storing this information along with category score in the index. > Now, during query time when I display results for a particular category, I > would like to sort result based on this category score. I cannot say > sort on > category score field, since a document can be classified against multiple > categories (and so multiple category scores) - are you trying to filter out categories or do you actually have a different score for each category that content gets indexed under. You can sort a query but only on a single field (I think). At search time, for each > document that matches against say, 'category:A' - i will have to get corr > category score and use that for sorting. Any thoughts? You could populate the sort field dynamically but still only a single field. Are you trying to sort on multiple category fields? Dennis Kubes > > Thanks, > > > > > > > > On 1/11/07, Dennis Kubes <[EMAIL PROTECTED]> wrote: >> >> You can write a scoring filter. That is much easier than changing >> NutchSimplicity. Take a look at the scoring-opic plugin under src. >> That will demostrate the default scoring algorithm. >> >> Dennis Kubes >> >> DS jha wrote: >> > Hello - >> > >> > I would like to score & summarize results on a different set of >> > words/conditions than my original search query criteria - is that >> possible? >> > >> > I was thinking of extending NutchSimplicity class to modify how >> documents >> > are scored (basically change terms on which documents are scored) and >> > plugin >> > basicsummarizer for generating hit summary - does that sound like >> logical >> > extension points? >> > . >> > Let me know of anyone has solved this type of problem before. >> > >> > Thanks, >> > >> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers