This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
Sheriff

Joined: Jul 29, 2008
Posts: 3712
    
  89

"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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
Bartender

Joined: Apr 04, 2009
Posts: 711
    
  14

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
 
It's not a secret anymore!