This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Lucene: Search Engine usage/statistics

 
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
 
Sheriff
Posts: 6408
1132
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • 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.
 
Rancher
Posts: 43011
76
  • 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.
 
Bartender
Posts: 1210
25
Android Python PHP C++ Java Linux
  • 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.
 
please buy my thing and then I'll have more money:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!