File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Lucene: Search Engine usage/statistics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Lucene: Search Engine usage/statistics" Watch "Lucene: Search Engine usage/statistics" New topic
Author

Lucene: Search Engine usage/statistics

Kali Jp
Greenhorn

Joined: Feb 25, 2010
Posts: 2

Hi,

I am planning to use Lucene API to implement internal search engine. One of the requirements for Search engine is reports. Reports such as popular search string and popular result page choose for a search string.
My question here is, does Lucene have any inbuilt mechanism/API to provide key data? Or do we need to explicitly architect something to capture searches and clicks on the result page?
Is there any popular design to capture the required data?

Thanks,
Kali
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3273
    
  52

"Kali Programmer", please check your private messages regarding an important administrative matter from JavaRanch.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42949
    
  70
Lucene has no built-in capabilities for gathering such statistics. You'll need to keep track of search terms and frequencies and whetever else you need in your code.
Karthik Shiraly
Ranch Hand

Joined: Apr 04, 2009
Posts: 539
    
    7
Kali Jp wrote:
Hi,

I am planning to use Lucene API to implement internal search engine. One of the requirements for Search engine is reports. Reports such as popular search string and popular result page choose for a search string.
My question here is, does Lucene have any inbuilt mechanism/API to provide key data? Or do we need to explicitly architect something to capture searches and clicks on the result page?
Is there any popular design to capture the required data?

Thanks,
Kali


You can check Apache Solr, which is Lucene based, but provides additional services around it. It may have what you're looking for.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Lucene: Search Engine usage/statistics