lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Roberts <carl.roberts.zap...@gmail.com>
Subject Re: Is Solr a good candidate to index 100s of nodes in one XML file?
Date Thu, 22 Jan 2015 16:21:52 GMT
Thanks for the input.  I think one benefit of using Solr is also that I 
can provide a REST API to search the indexed records.

Regards,

Joe
On 1/21/15, 3:17 PM, Shawn Heisey wrote:
> On 1/21/2015 12:53 PM, Carl Roberts wrote:
>> Is Solr a good candidate to index 100s of nodes in one XML file?
>>
>> I have an RSS feed XML file that has 100s of nodes with several
>> elements in each node that I have to index, so I was planning to parse
>> the XML with Stax and extract the data from each node and add it to
>> Solr.  There will always be only one one file to start with and then a
>> second file as the RSS feeds supplies updates.  I want to return
>> certain fields of each node when I search certain fields of the same
>> node.  Is Solr overkill in this case?  Should I just use Lucene instead?
> Effectively, Solr *is* Lucene.  You edit configuration files instead of
> writing Lucene code, because Solr is a fully customizable search server,
> not a programming API.  That also means that it's not as flexible as
> Lucene ... but it's a lot easier.
>
> If you're capable of writing Lucene code, chances are that you'll be
> able to write an application that is highly tailored to your situation
> that will have better performance than Solr ... but you'll be writing
> the entire program yourself.  Solr lets you install an existing program
> and just change the configuration.
>
> Thanks,
> Shawn
>


Mime
View raw message