lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shashi Kant <sk...@sloan.mit.edu>
Subject Re: Lucene Newbie Questions
Date Mon, 31 May 2010 23:59:35 GMT
Based on your description, I would recommend Solr. It provides several
features such as spelling suggestion, faceting etc.
OOTB.

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

should answer all your questions.

On Mon, May 31, 2010 at 7:54 PM, Frank A <fsa317@gmail.com> wrote:
> Thanks a bunch.
>
> Since I'm already inside a java based web application it would seem like
> both SOLR and Lucene would be plausible.  I'm curious what other factors I
> should know about in determing if SOLR or Lucene is right for me.
>
> Can SOLR be used within a web application (as a library) or is it only a
> standalone app.
>
> Frank
>
>
> On Mon, May 31, 2010 at 7:33 PM, N Hira <nhira@cognocys.com> wrote:
>
>> Frank --
>>
>> Lucene can definitely do this stuff.  This review of the Query Syntax might
>> offer you some insight:
>> http://lucene.apache.org/java/2_4_0/queryparsersyntax.html
>>
>> Specifically, you can look up "Fuzzy Searches" and "Synonyms".  There are a
>> couple of key ways to handle synonyms, so you might want to prototype that
>> before you settle on the approach you ultimately select.
>>
>> Be aware that Lucene is more of a "search library".  If you're looking for
>> a Web App. that can return XML or JSON, you might want to look into Solr,
>> which uses Lucene, but offers a lot of the architecture you might need:
>> http://lucene.apache.org/solr/
>>
>>
>> Good luck!
>>
>> -h
>>
>>
>>
>>
>> ----- Original Message ----
>> From: Frank A <fsa317@gmail.com>
>> To: java-user@lucene.apache.org
>> Sent: Mon, May 31, 2010 6:20:41 PM
>> Subject: Lucene Newbie Questions
>>
>> Hello all,
>> I'm considering Lucene for a specific application and am trying to ensure
>> that it is the right tool for what I'm trying to accomplish.
>>
>> At a high level I have a list of restaurants in a database and a list of
>> tags related to the restaurant (e.g. Italian, Formal, Expensive, etc).
>>  Each
>> restaurant also has a location (longitude/latitude).
>>
>> My primary goal using Lucene is to conduct searches where the user can do
>> things like:
>>
>> - Misspell the name of the restaurant (by a few chars)
>> - Type "Italian Food" instead of just Italian or perhaps "Great Italian"
>> - Or even use some synonyms (e.g. Deli and Delicatessen) - of course I'd
>> define these terms.
>>
>> Are these types of use cases something that can be done with Lucene? Or is
>> there a more appropriate API that I haven't found?
>>
>> Thanks.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message