lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Is Solr a good candidate to index 100s of nodes in one XML file?
Date Wed, 21 Jan 2015 20:17:43 GMT
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.


View raw message