Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Lucene: Search Engine usage/statistics

 
Kali Jp
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Marshal
Pie
Posts: 4314
233
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Kali Programmer", please check your private messages regarding an important administrative matter from JavaRanch.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1203
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic