Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Lucene: Search Engine usage/statistics

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 6837
1299
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Kali Programmer", please check your private messages regarding an important administrative matter from JavaRanch.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic