Re: Lucene Hierarchial Taxonomy Search

2013-12-19 Thread Michael McCandless
ompareTo(bookCategoryPath)==0){ > document.score = 1 > }else if(queryCategoryPath.compareTo(bookCategoryPath)==1){ > document.score = 0.9 > }else if(queryCategoryPath.compareTo(bookCategoryPath)==2){ > document.score = 0.8 > } and so on. > > > > > > -- >

Re: Lucene Hierarchial Taxonomy Search

2013-12-18 Thread Nino_87
-- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-Hierarchial-Taxonomy-Search-tp4107100p4107226.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsu

Re: Lucene Hierarchial Taxonomy Search

2013-12-17 Thread Michael McCandless
or partially (with a defined depth > threshold) and give them a different score in function of the match degree. > > E.g.: query "book_category=/novel/comedy" and "depth_threshold=1" must > return books with book_category=/novel/comedy (score=100%), /novel and > /n

Lucene Hierarchial Taxonomy Search

2013-12-17 Thread Nino_87
s with book_category=/novel/comedy (score=100%), /novel and /novel/comedy/new (score < 100%). I tried the TopScoreDocCollector in the search, but it returns the book which book_category at least contains the query category, and gives them the same score. How can i obtain this search function th