Re: Solr and units

2016-03-15 Thread Shane McCarthy
Thank you Binoy. I like simple and this should work well. On Tue, Mar 15, 2016 at 11:42 AM, Binoy Dalal wrote: > The simplest thing would be to index a separate field for the unit for each > distinct value you're storing. > > On Tue, Mar 15, 2016 at 7:55 PM Shane McCarthy

Solr and units

2016-03-15 Thread Shane McCarthy
I am curious if it is possible to have a unit associated with a number in Solr. I have a field currently that has a value of x where x is an integer or float, can I associate a unit with that? So I know the value is x gram or x Watt. Thank you, Shane

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
.xml on > >> the Files screen: > >> https://cwiki.apache.org/confluence/display/solr/Files+Screen. Check > >> there for definitions. A definition for "fl" under "/select" or > >> perhaps your custom request handler may restrict the fields yo

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

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
you are > getting. > > Regards, >Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 17 November 2015 at 11:32, Shane McCarthy wrote: > > Yes a complex situation and I am having trouble knowing

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
fields requested for all the results. Is this usual behaviour? Cheers, Shane On Mon, Nov 16, 2015 at 7:11 PM, Alexandre Rafalovitch wrote: > On 16 November 2015 at 17:40, Shane McCarthy wrote: > > I am using an instance of Islandora. > > Ah. This complicates the situation as ther

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
/www.solr-start.com/ > > > On 16 November 2015 at 15:32, Shane McCarthy wrote: > > 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 6

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
you put into it. > > Regards, >Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 16 November 2015 at 13:50, Shane McCarthy wrote: > > I am having an issue with Solr and want to know if this

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