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

Reply via email to