Hi,

I'm trying to index information of RSS Feeds.

So in a more detailed explanation:

The RSS feed has something like: 
<enclosure url="http://www.engadget.com/podcasts/Engadget_Podcast_353.mp3"; 
length="32642192" type="audio/mpeg"/>

With my current configuration, this is working and i get a result like that:

enclosure: [
"audio/mpeg",
"http://www.engadget.com/podcasts/EngadgetHD_Podcast_359.mp3";,
"37521428"
],

BUT, this is not the result that i'm trying to reach. With that i'm not able to 
know in a "correct" way, if "audio/mpeg" is the type, or the url, or the length.

I want to reach something like:

enclosure: {
type: "audio/mpeg",
url: "http://www.engadget.com/podcasts/EngadgetHD_Podcast_359.mp3";,
length: "37521428"
},


So, how i intend this, this should be 3 fields inside of another field, no?


Many Thanks for the answer and the help.


On Jul 31, 2013, at 3:34 PM, Erick Erickson <erickerick...@gmail.com> wrote:

> Nope. Solr fields are flat. Why do you want to do this? I'm
> asking because this might be an XY problems and there
> may be other possibilities.
> 
> Best
> Erick
> 
> On Wed, Jul 31, 2013 at 5:09 AM, Luís Portela Afonso
> <meligalet...@gmail.com> wrote:
>> Hi, I'm trying to create a field with multiple fields inside, that is:
>> 
>> origin:
>> {
>> 
>> htmlUrl: "http://www.gazzetta.it/";,
>> streamId: "feed/http://www.gazzetta.it/rss/Home.xml";,
>> title: "Gazzetta.it"
>> 
>> },
>> 
>> 
>> Get something like this. Is that possible? I'm using Solr 4.4.0.
>> 
>> Thanks

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to