Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
Thank you for the resources and all the help. I hope that I clear this up soon. I will ask the Islandora folks for their thoughts. Cheers, Shane On Tue, Nov 17, 2015 at 3:19 PM, Alexandre Rafalovitch wrote: > Add echoParams=all to see what are default and other parameters that > apply to you

Re: Query gives response multiple times

2015-11-17 Thread Alexandre Rafalovitch
Add echoParams=all to see what are default and other parameters that apply to your request https://wiki.apache.org/solr/CoreQueryParameters#echoParams . Specifically, what the 'fl' setting is. Or try setting 'fl' explicitly and see if the display changes. copyField, The one that I would expect to

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
I forgot to let you know that I am using Solr 4.2. On Tue, Nov 17, 2015 at 2:07 PM, Shane McCarthy wrote: > Thank you for the speedy responses. > > I will give the results I have found based on your comments. > > In the schema.xml there are 19 dynamicField are specified. The query and > the fie

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
Thank you for the speedy responses. I will give the results I have found based on your comments. In the schema.xml there are 19 dynamicField are specified. The query and the fields list I want are included in these 19 variables. They are all stored so based on your comment Erick I would assume

Re: Query gives response multiple times

2015-11-17 Thread Alexandre Rafalovitch
If you have access to the Admin UI, go to the Schema Browser field under the core (I assume Solr 4+ here, never actually asked for your version). https://cwiki.apache.org/confluence/display/solr/Schema+Browser+Screen You can see in the example that when you select a field, it will show whether it

Re: Query gives response multiple times

2015-11-17 Thread Erick Erickson
As far as getting fields back when you specify the "fl" parameter, only _stored_ fields (i.e stored="true" in the schema) are available. As far as your doubled (or more) fields, I'm 99% certain that somehow your input process is doing this (I've seen SQL do "surprising" things for instance). Or yo

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
Yes a complex situation and I am having trouble knowing who to ask for an explanation. I have been given access to the Solr Admin page. Using the persistent identifier PID, I have done a query for PID = *. The PID that are found with that query all have cml_hfenergy_md, a multivalued double fiel

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
On 16 November 2015 at 17:40, Shane McCarthy wrote: > I am using an instance of Islandora. Ah. This complicates the situation as there is an unknown - to most of us - layer in between. So, it is not clear whether this multiplication is happening in Solr or in Islandora. Your best option is to hi

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
I am using an instance of Islandora. The database is housed on a server I don't have access to. Hopefully it is moved soon, But this is the url I make the request with. The query url is ' https://upeichem.clients.discoverygarden.ca/islandora/rest/v1/solr/PID%3A%28%22islandora%3A1199%22%29?fl=PI

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
What does the query looks like that you get this? And is it exactly the same value 8 times? Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 16 November 2015 at 15:32, Shane McCarthy wrote: > Thank you for the quick responses. > > @Andrea Gazza

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
Thank you for the quick responses. @Andrea Gazzarini The field can have one or eight doubles in it. However, the response of the query has 8 doubles and 64 doubles respectively. The values are repeated 8 times. @Alexandre Rafalovitch Thanks for the link. I am just getting started using Solr so

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
I would check for copyField into that target field or something in UpdateRequestProcessors (in solrconfig.xml) that copies into that field. Baring those two, the field should return what you put into it. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http:

Re: Query gives response multiple times

2015-11-16 Thread Andrea Gazzarini
Hi Shane, If the field is multivalued and contains 8 doubles I believe it is the expected behaviour. If I misunderstood something please expand a bit. What's wrong with that response? Best, Andrea On 16 Nov 2015 19:50, "Shane McCarthy" wrote: > I am having an issue with Solr and want to know if

Query gives response multiple times

2015-11-16 Thread Shane McCarthy
I am having an issue with Solr and want to know if this is the usual behaviour. I query the database and receive a response which has the value of the field I requested repeated 8 times. The field is a multivalued and contains doubles. Is their something I could add to the schema.xml to remedy t