Re: how to store _text field

2015-04-28 Thread Mirko Torrisi
Hi guys, I used the Erick's suggestions (thanks again!!) to create a new field and copy in it the _text content. curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field" : { "name":"content", "type":"string", "indexed":true, "stored":true}, "add-copy-field" : { "source":"_text

Re: how to store _text field

2015-03-19 Thread Erick Erickson
Hmm, not all that sure. That's one thing about schemaless indexing, it has to guess. It does the best it can, but it's quite possible that it guesses wrong. If this is a "mananged schema", you can use the REST API commands to make whatever field you want. Or you can start over with a concrete sche

Re: how to store _text field

2015-03-19 Thread Mirko Torrisi
Hi Erick, I'm sorry for this delay but I've just seen this reply. I'm using the last version of solr and the default setting is to use the new kind of indexing, it doesn't use schema.xml and for that I have no idea about how set "store" for this field. The content is grabbed because I've obtai

Re: how to store _text field

2015-03-14 Thread Erick Erickson
Right, your schema.xml file will define, perhaps, some "dynamic fields". First insure that stored="true" is specified. If you change this, you have to re-index the docs. Second, insure that your "fl" parameter with the field is specified on the requests, something like q=*:*&fl=eoe_txt. Third, in

Re: how to store _text field

2015-03-13 Thread Mirko Torrisi
Hi Alexandre, I need to visualize the content of _txt. For some reasons, actual it is not showed in the results (the "response"). I guess that it doesn't happen because it isn't stored (for some default setting that I'd like to change). Thanks for your help, Mirko On 13/03/15 00:27, Alexand

Re: how to store _text field

2015-03-12 Thread Alexandre Rafalovitch
Wait, step back. This is confusing. What's your real problem you are trying to solve? Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 12 March 2015 at 19:50, Mirko Torrisi wrote: > Hi folks, > > I googled and tried without su

how to store _text field

2015-03-12 Thread Mirko Torrisi
Hi folks, I googled and tried without success so I ask you: how can I modify the setting of a field to store it ? It is interesting to note that I did not add _text field so I guess it is a default one. Maybe it is normal that it is not showed on the result but actually this is my real probl