lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Judioo <>
Subject Storing, indexing and searching XML documents in Solr
Date Wed, 18 May 2011 20:19:27 GMT
I'm new to solr so apologies if the solution is already documented.
I have installed and populated a solr index using the examples as a template
with a version of the data below.

I have XML in the form of

    <price currency="usd">3.99<price>
      <discount type="percentage" rate="30"
start="2011-05-03T00:00:00" end="2011-05-10T00:00:00" />

      <discount type="decimal" amount="1.99" coupon="1" />
          <category id="drama" />
          <category id="horror" />
      <rate id="D1">contains some scenes which some viewers may find

Can I populate solr directly with this document (like I believe marklogic
does )?
If yes
Can I search on any attribute ( i.e. find all records where
/entity/resource/media_format equals "blu-ray" )

If no
What is the best practice to import the attributes above into solr ( i.e.
patterns for sub dividing / flattening document ).
Does solr support attached documents and if so is this advised ( how does it
affect performance ).

Any help is greatly appreciated. Pointers to documentation that address my
issues is even more helpful.

Thanks again


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message