Re: Using categories with Lucene

2010-08-08 Thread findbestopensource
Hello Daniel & Luan 1. Carrot is not required for your purpose. Carrot helps to consolidate the results from multiple search results. 2. You need to add a category to the pages at the index time and filter out the results during search time. If you want to use Lucene, then you could store the cat

Re: Using categories with Lucene

2010-08-08 Thread Otis Gospodnetic
Hello Luan, I think you are looking for facets and faceted search. In short, it means storing the category for a document (web page) in the Document Field in Lucene index . Then, at search time, you count how many matches were in which category. You can implement this yourself or you can use

Using categories with Lucene

2010-08-08 Thread Luan Cestari
Lucene developers, We’ve been working on a undergraduate project to the college about changing Apache Nutch (that uses Lucene do index it’s web pages) to include a category filter, and we are having problems about the query part. We want to develop an application with a good performance, so we t

Re: Query Match Count

2010-08-08 Thread Ryan McV
Thank you for your response. Unfortunately, I do need the frequency for all the hits. I downloaded your patch, and ofter applying it, It works! Thank you very much. How ever, I could not apply the patch using the patch command (I am on windows and using UnxUtils, could this be the problem). I had

Re: Query Match Count

2010-08-08 Thread Michael McCandless
Do you need this for a single document, eg for debugging? If so, IndexSearcher.explain can give you these details. If you need it for all hits, then Lucene does not make that easy today, which is somewhat frustrating because this information (freq of occurrence of each clause matching the current

Re: understanding lucene

2010-08-08 Thread Otis Gospodnetic
Manning, the Lucene in Action publisher, frequently offers 30-50% off on a number of their books, including LIA2. See http://twitter.com/ManningBooks Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message

RE: understanding lucene

2010-08-08 Thread Uwe Schindler
Finally, on the book's web page is a link to download the example source code from the book! Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Yakob [mailto:jacob...@opensuse-id.org] > Sent: Sunday, A

Re: understanding lucene

2010-08-08 Thread Yakob
ok I am sorry,I should not have said that.I didn't know that it was you guys who made the book.so I will now try to activate my paypal account to buy that book. thanks for the suggestion. :-) On 8/8/10, Uwe Schindler wrote: > Hi Yakob, > > In this mailing list are all the people who wrote this b

RE: understanding lucene

2010-08-08 Thread Uwe Schindler
Hi Yakob, In this mailing list are all the people who wrote this book, making such a suggestion is not a good idea, especially if you need help in future. You cannot get everything for free. If you look through the internet (e.g. twitter, blogs of authors) you may find Coupon Codes / Promotional C

Re: understanding lucene

2010-08-08 Thread Yakob
On 8/8/10, Uwe Schindler wrote: > The example code you found is very old (seems to be from the Version 1.x of > Lucene), and is not working with Version 2.x or 3.x of Lucene (previously > deprecated "Hits" class is gone in 3.0, "static" Field constructors were > gone long time ago in 2.0, so you g

RE: understanding lucene

2010-08-08 Thread Uwe Schindler
Ah, sure - I should always click on the URLs I posted. I think "/hatcher" (1) was his ANT book :-) - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Michael McCandless [mailto:luc...@mikemccandless.com] >

Re: understanding lucene

2010-08-08 Thread Michael McCandless
Small correction: the URL for the book is actually http://www.manning.com/hatcher3 (not /hatcher2, which is the 1st edition). Mike On Sun, Aug 8, 2010 at 5:23 AM, Uwe Schindler wrote: > The example code you found is very old (seems to be from the Version 1.x of > Lucene), and is not working with

RE: understanding lucene

2010-08-08 Thread Uwe Schindler
The example code you found is very old (seems to be from the Version 1.x of Lucene), and is not working with Version 2.x or 3.x of Lucene (previously deprecated "Hits" class is gone in 3.0, "static" Field constructors were gone long time ago in 2.0, so you get compilation errors). If you want to l

Re: understanding lucene

2010-08-08 Thread Yakob
ok I had tried to run some sample lucene application I found on the internet such this one from http://javatechniques.com/blog/lucene-in-memory-text-search-example/ and this is the source code, I put it in pastebin so it will be easier to edit. http://pastebin.ca/1913109 but still when I tried