Re: indexed and stored for fields that are sources of a copy field

2018-10-22 Thread Emir Arnautović
Hi Chris, Even better - you can contribute with documentation - you can create jira with patch. Thanks, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 22 Oct 2018, at 15:43, Chris Wareham > wrote

Re: indexed and stored for fields that are sources of a copy field

2018-10-22 Thread Chris Wareham
Hi Emir, Many thanks for the confirmation. I'd kind of inferred this was correct from the paragraph starting with "Copying is done at the stream source level", but it would be good to mention it in the "Copying Fields" section of the Solr documentation. Should I create a JIRA issue asking for thi

Re: indexed and stored for fields that are sources of a copy field

2018-10-22 Thread Emir Arnautović
Hi Chris, Yes you can do that. There is also type=“ignored” that you can use in such scenario. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 22 Oct 2018, at 15:22, Chris Wareham > wrote: >

Re: indexed and stored fields don't appear in the response

2015-02-10 Thread Erick Erickson
You're confusing indexing and storing. You can _search_ on anything where indexed="true", thus your q=bizid: 2380505101 query returns documents (I'm assuming) works. That has nothing to do with what's returned in your documents. For seeing a field in your documents for which you've set stored="tr

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Sandy Ding
Thanks for Anshum & Gora's suggestion. I haven't set default fl in solrconfig.xml and the documents do contain tagid and bizid field(I've tried both q=*:* and q=bizid:2380505101). I'll look into the reindex possibility that Gora mentioned. 2015-02-09 18:37 GMT+08:00 Gora Mohanty : > On 9 February

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Gora Mohanty
On 9 February 2015 at 15:50, Anshum Gupta wrote: > Common reasons for that would be > 1. Your default fl in solrconfig is set to id, _version_. Can you try > explicitly mentioning fl=id,tagid,bizid in the request? Also, it'd be good > to look at your solrconfig.xml. > 2. Chances are, those documen

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Anshum Gupta
Common reasons for that would be 1. Your default fl in solrconfig is set to id, _version_. Can you try explicitly mentioning fl=id,tagid,bizid in the request? Also, it'd be good to look at your solrconfig.xml. 2. Chances are, those documents do not contain those fields to begin with. Both bizid and

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Sandy Ding
Sorry about the error, I have copied the wrong schema file :( The schema.xml file is actually as follows: The command curl "http://localhost:8983/solr/pa_info/select? q=bizid:2380505101&rows=10 " will get the following response:

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Anshum Gupta
What happens? You seem to be getting back the stored fields for the top 10 documents. What do you want/think should happen? On Mon, Feb 9, 2015 at 12:56 AM, Sandy Ding wrote: > Part of my schema is as follows: > > > required="true" multiValued="false" docValues="true" /> > requir

Re: indexed and stored fields don't appear in the response

2015-02-09 Thread Gora Mohanty
On 9 February 2015 at 14:26, Sandy Ding wrote: > Part of my schema is as follows: > > > required="true" multiValued="false" docValues="true" /> > required="false" multiValued="true" docValues="true"/> > > When I issue the following command, > > curl "http://localhost:8983/solr/

Re: Indexed And Stored

2013-02-12 Thread anurag.jain
Actually problem is i updated data first. and then i have to add new fields so i made another json file [ { "id":"2131", "newfield":{"add":"2121"} }, { "id":"21", "newfield":{"add":"21"} } ] now i have two different files. so if i try to update previous file for indexed = true. it erase new f

Re: Indexed And Stored

2013-02-12 Thread Rafał Kuć
Hello! The simplest way will be updating your schema.xml file, do the change that needs to be done and fully re-index your data. Solr wont be able to automatically change not indexed field to indexed one. You could also use the partial document update API of Solr if you don't have your original d

Re: Indexed And Stored

2013-02-12 Thread Gora Mohanty
On 12 February 2013 15:49, anurag.jain wrote: > hello, > > in my schema > > > > and i updated 18 data. > > > now i need indexed="true" for all old data. > > i need solution [...] You have no choice but to change the schema, and reindex, either from the original source, or by first pulling fr