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 <binoydala...@gmail.com> 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, 201

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
the fields requested for all the results. Is this usual behaviour? Cheers, Shane On Mon, Nov 16, 2015 at 7:11 PM, Alexandre Rafalovitch <arafa...@gmail.com> wrote: > On 16 November 2015 at 17:40, Shane McCarthy <smccar...@upei.ca> wrote: > > I am using an instance

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 <smccar...@upei.ca> 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 dynam

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
er may restrict the fields 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 <smccar...@upei.ca> wrote: > > Yes a complex

Re: Query gives response multiple times

2015-11-17 Thread Shane McCarthy
ers, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 17 November 2015 at 13:07, Shane McCarthy <smccar...@upei.ca> wrote: > > Thank you for the speedy responses. > > > > I will give the results I have found based on your comments. > >

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

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
r-start.com/ > > > On 16 November 2015 at 15:32, Shane McCarthy <smccar...@upei.ca> 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 doub

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
e field should return what 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 <smccar...@upei.ca> wrote: > > I am hav