Re: Json object values in solr string field

2018-09-27 Thread Balanathagiri Ayyasamypalanivel
Thanks Alex/Shawn, Yeah currently we handling by writing some custom code from the response and calculating the assets, but we lossing the power of default stats and facet features when going with this approach. Also actually it's not duplicate data, but as per our current design the data resides

Re: Json object values in solr string field

2018-09-27 Thread Alexandre Rafalovitch
If the duplicate data is only indexed, it is not actually duplicated. It is only an index entry and the record ids where it shows. Regards, Alex On Thu, Sep 27, 2018, 10:55 AM Balanathagiri Ayyasamypalanivel, < bala.cit...@gmail.com> wrote: > Hi Alex, thanks, we have that set up already in p

Re: Json object values in solr string field

2018-09-27 Thread Shawn Heisey
On 9/27/2018 8:53 AM, Balanathagiri Ayyasamypalanivel wrote: Thanks Shawn for your prompt response. Actually we have to filter on the query time while calculate the score. The challenge here is we should not add the asset and put as static field in the index time. The asset needs to be calculate

Re: Json object values in solr string field

2018-09-27 Thread Balanathagiri Ayyasamypalanivel
Hi Alex, thanks, we have that set up already in place, we are thinking to optimize more to resign the data to avoid these duplication. Regards, Bala. On Thu, Sep 27, 2018, 10:31 AM Alexandre Rafalovitch wrote: > Well, my feeling is that you are going in the wrong direction. And that > maybe you

Re: Json object values in solr string field

2018-09-27 Thread Balanathagiri Ayyasamypalanivel
Thanks Shawn for your prompt response. Actually we have to filter on the query time while calculate the score. The challenge here is we should not add the asset and put as static field in the index time. The asset needs to be calculated while query time with some filters. Regards, Bala. On Thu,

Re: Json object values in solr string field

2018-09-27 Thread Shawn Heisey
On 9/26/2018 12:46 PM, Balanathagiri Ayyasamypalanivel wrote: But only draw back here is we have to parse the json to do the sum of the values, is there any other way to handle this scenario. Solr cannot do that for you.  You could put this in your indexing software -- add up the numbers and p

Re: Json object values in solr string field

2018-09-27 Thread Alexandre Rafalovitch
Well, my feeling is that you are going in the wrong direction. And that maybe you need to focus more on separating your - non solr - storage representation and your - solr - search oriented representation. E.g. if your issue is storage, maybe you can focus on stored=false indexed=true approach. R

Re: Json object values in solr string field

2018-09-27 Thread Balanathagiri Ayyasamypalanivel
Any suggestions? Regards, Bala. On Wed, Sep 26, 2018, 2:46 PM Balanathagiri Ayyasamypalanivel < bala.cit...@gmail.com> wrote: > Hi, > > Thanks for the reply, actually we are planning to optimize the huge volume > of data. > > For example, in our current system we have as below, so we can do facet

Re: Json object values in solr string field

2018-09-26 Thread Balanathagiri Ayyasamypalanivel
Hi, Thanks for the reply, actually we are planning to optimize the huge volume of data. For example, in our current system we have as below, so we can do facet pivot or stats to get the sum of asset_td for each acct, but the data growing lot whenever more asset getting added. Id | Accts| assetid

Re: Json object values in solr string field

2018-09-26 Thread Shawn Heisey
On 9/26/2018 12:20 PM, Balanathagiri Ayyasamypalanivel wrote: Currently I am storing json object type of values in string field in solr. Using this field, in the code I am parsing json objects and doing sum of the values under it. In solr, do we have any option in doing it by default when using

Json object values in solr string field

2018-09-26 Thread Balanathagiri Ayyasamypalanivel
Hi, Currently I am storing json object type of values in string field in solr. Using this field, in the code I am parsing json objects and doing sum of the values under it. In solr, do we have any option in doing it by default when using the json object field values. Regards, Bala.

Re: Solr string field stripping new lines & line breaks

2013-06-19 Thread Erick Erickson
ist me on this. > > Thank you > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p4071595.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr string field stripping new lines & line breaks

2013-06-19 Thread sodoo
eaks to indexed document also line breaks. My frontend app is SOLARIUM. How can I appear line break the indexed data? Please assist me on this. Thank you -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p4071595.

Re: Solr string field stripping new lines & line breaks

2012-05-17 Thread jacousteau
ing > > content to a Solr string field? > > String is indexed verbatim. Are you using wt=xml in a browser? Try using > wt=php > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucen

Re: Solr string field stripping new lines & line breaks

2012-05-17 Thread Ahmet Arslan
> Hi, is there any way to preserve > newlines or line breaks when submitting > content to a Solr string field? String is indexed verbatim. Are you using wt=xml in a browser? Try using wt=php

Solr string field stripping new lines & line breaks

2012-05-17 Thread jacousteau
Hi, is there any way to preserve newlines or line breaks when submitting content to a Solr string field? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384.html Sent from the Solr - User mailing list archive at

RE: solr string field

2010-06-22 Thread ZAROGKIKAS,GIORGOS
It's ok It was a problem with my schema Thanks anyway -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Monday, June 21, 2010 5:09 PM To: solr-user@lucene.apache.org Subject: Re: solr string field Or even better for an exact string query: q={!

Re: solr string field

2010-06-21 Thread Erik Hatcher
Or even better for an exact string query: q={!raw f=field_name}sony vaio (that's NOT URL encoded, but needs to be when sending the request over HTTP) Erik On Jun 21, 2010, at 9:43 AM, Jan Høydahl / Cominvent wrote: Hi, You either need to quote your string: http://localhost:89

Re: solr string field

2010-06-21 Thread Jan Høydahl / Cominvent
Hi, You either need to quote your string: http://localhost:8983/solr/select?q="sony+vaio"; or to escape the space: http://localhost:8983/solr/select?q=sony\+vaio If you do not do one of these, your query will be parsed as text:sony OR text:vaio, which will not match your string field. -- Jan H

solr string field

2010-06-21 Thread ZAROGKIKAS,GIORGOS
Hi I use a string Field in my solr schema but when I query a value with space it doesn't give me results e.g I have a value "sony vaio" when I query with "sony vaio" I get 0 results but when I query "sony*" I get my results how can I query a strin