Neeraj
Neeraj

Reputation: 8532

Which API should I use to implement search on my website

We have an in-house webapp running for internal use over the intranet for our firm.

Recently we decided to implement an efficient searching facility,and would want inputs from experts here about what all API's are available and which one would be most useful for the following use-cases:

As this is an internal app, there are no restrictions on the space as such, but we need a fast and generic API.

I am sure Java already has something which suits our needs.

More info on the technology stack: Language:Java Server: Apache Tomcat Stack : Spring, iBatis, Struts Cache in place : ECache Other API : Shindig API

Thanks

Neeraj

Upvotes: 0

Views: 210

Answers (2)

Miguel Lomelí
Miguel Lomelí

Reputation: 1324

Solr is a great tool for search. The downside is that it may require some work to get it the way you want it.

With it, you can set different fields for a document and give them custom priority in each query.

You can create facets easily from those fields like with Amazon. Sorting is easy and quick. And has a spellchecker and suggestions engine built in.

The documents are matched using the query mode dismax which you can customize.

Upvotes: 1

Anish Mohile
Anish Mohile

Reputation: 183

You can use Solr for Apache Lucene if text based search has priotity. It might be more that what you want though have a look.

http://lucene.apache.org/solr/

http://lucene.apache.org/

Upvotes: 1

Related Questions