lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Is Solr a good candidate to index 100s of nodes in one XML file?
Date Wed, 21 Jan 2015 20:15:29 GMT
Solr is just fine for this.

It even ships with an example of how to read an RSS file under the DIH
directory. DIH is also most likely what you will use for the first
implementation. Don't need to worry about Stax or anything, unless
your file format is very weird or has overlapping namespaces (DIH XML
parser does not care about namespaces).

Regards,
  Alex.
----
Sign up for my Solr resources newsletter at http://www.solr-start.com/


On 21 January 2015 at 14:53, Carl Roberts <carl.roberts.zapata@gmail.com> wrote:
> Hi,
>
> 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?
>
> Regards,
>
> Joe

Mime
View raw message