Re: Integrate highlighting data within main search results

2020-05-12 Thread Kamal Kishore Aggarwal
any update on this guys On Wed, May 6, 2020 at 3:39 PM Kamal Kishore Aggarwal wrote: > Hi, > > I am using highlighting feature in solr 8.3 with default method. With > current behaviour, main search results and highlighted results are shown in > different blocks. Is the

Integrate highlighting data within main search results

2020-05-06 Thread Kamal Kishore Aggarwal
Hi, I am using highlighting feature in solr 8.3 with default method. With current behaviour, main search results and highlighted results are shown in different blocks. Is there a way we can implemented highlighting within the search main results, without having to return extra block for highlighti

Re: Recipe for moving to solr cloud without reindexing

2019-08-26 Thread Kamal Kishore Aggarwal
Hi Erick, Is there any workaround for this? My requirement is to move solr data from solr 6 to solr 7. I have thought to use /replication handler to do so. But, as per the case, the solr 6 collection has 1 shard & 1 replica and we wish to have 2 shards and 1 replica on solr 7. If I enable replica

Re: Facing issue ith MinMaxNormalizer

2019-06-14 Thread Kamal Kishore Aggarwal
Hi Christine, Thanks for the reply. I had identified the same issue. So, applied the below fix in the custom jar. this.max = Float.parseFloat(max.replace("\"", "")); this.min = Float.parseFloat(min.replace("\"", "")); And, it worked. Thanks for confirming that this is an issue in solr 6.6.2 Re

Facing issue ith MinMaxNormalizer

2019-06-12 Thread Kamal Kishore Aggarwal
Hi All, Appreciate if someone can help. I am using LTR with MinMaxNormalizer in solr 6.6.2. Model.json "class": "org.apache.solr.ltr.model.MultipleAdditiveTreesModel", "name": "XGBOOST-BBB-LTR-Model", "store":"BBB-Feature-Model", "features": [ { "name": "TFIDF",

LTR: Normalize Feature Weights

2019-04-18 Thread Kamal Kishore Aggarwal
Hi, Is there a way to normalize the value of fieldValueFeature and OriginalScoreFeature features within some range i.e 0-1. Lets suppose I have 4 products with some field values, I wish to normalize weight within 0 and 1 using func (val-min)/(max-min). Product FieldValue Normalized Value P1 4 1

Re: Solr LTR model Performance Issues

2019-04-18 Thread Kamal Kishore Aggarwal
t be? Do you have really 10 or more concurrent users, or > users that fire up queries at exactly the same time? > > Can you please monitor CPU and memory? > > > Am 05.04.2019 um 21:42 schrieb Kamal Kishore Aggarwal < > kkroyal@gmail.com>: > > > > Hi, >

Re: Solr LTR model Performance Issues

2019-04-05 Thread Kamal Kishore Aggarwal
Hi, Any update on this? Is this model running in multi threaded mode or is there is any scope to do this. Please let me know. Regards Kamal On Sat, Mar 23, 2019 at 10:35 AM Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > HI Jörn Franke, > > Thanks for the quick re

Re: Model type does not exist MultipleAdditiveTreesModel

2019-04-05 Thread Kamal Kishore Aggarwal
Hi Roee, It looks the error is due to blank feature param value in the json. "name" : "my", "features":[], "params" : { I have observed that many a times solr ltr returns generic error that 'Model type does not exist', but later actually found to be an issue with json. Just wanted to share

Re: Solr LTR model Performance Issues

2019-03-22 Thread Kamal Kishore Aggarwal
o models? How many documents? What > is your loading pipeline? Have you observed cpu/memory? > > > Am 22.03.2019 um 12:01 schrieb Kamal Kishore Aggarwal < > kkroyal@gmail.com>: > > > > Hi, > > > > I am trying to use LTR with solr 6.6.2.There ar

Solr LTR model Performance Issues

2019-03-22 Thread Kamal Kishore Aggarwal
Hi, I am trying to use LTR with solr 6.6.2.There are different types of model like Linear Model, Multiple Additive Trees Model and Neural Network Model. I have tried using Linear & Multiadditive model and compared the performance of results. There is a major difference in response time between th

Re: LTR feature based on other collection data

2019-03-06 Thread Kamal Kishore Aggarwal
any suggestions ? Thanks in advance. On Tue, Feb 26, 2019 at 6:22 PM Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > I looks to me that I can modify the *SolrFeature *class, but dont know > how to create IndexSearcher and SolrQueryRequest params as per the new > req

Re: LTR feature based on other collection data

2019-02-26 Thread Kamal Kishore Aggarwal
*, Query originalQuery, Map efi) throws IOException { return new SolrFeatureWeight(searcher, request, originalQuery, efi); } Regards Kamal On Tue, Feb 26, 2019 at 12:34 PM Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi, > > I am working on LTR using s

LTR feature based on other collection data

2019-02-25 Thread Kamal Kishore Aggarwal
Hi, I am working on LTR using solr 6.6.2. I am working on custom feature creation. I am able to create few custom features as per our requirement. But, there are certain features, for which the data is stored in other collection. Data like count of clicks, last date when the product was ordered,

Re: Solr Stream vs Export Request Handlers

2018-10-25 Thread Kamal Kishore Aggarwal
Any update on this. Regards Kamal On Thu, Oct 18, 2018 at 11:50 AM Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi, > > Thanks again Joel for your reply. I have noted your suggestions. > > I observed one more thing while using solrj to fetch the data using >

Re: Solr Stream vs Export Request Handlers

2018-10-17 Thread Kamal Kishore Aggarwal
e if they might be more efficient for your use case. > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > > On Mon, Oct 15, 2018 at 12:05 PM Kamal Kishore Aggarwal < > kkroyal@gmail.com> wrote: > > > Hi, > > > > After I performed the test on my

Re: Solr Stream vs Export Request Handlers

2018-10-15 Thread Kamal Kishore Aggarwal
streaming expression also uses steam technique. So, are they internally works in same fashion. Please confirm. Regards Kamal Kishore On Tue, Oct 2, 2018 at 5:51 PM Kamal Kishore Aggarwal wrote: > Hi, > > Thanks Jan & Joel. > > Though I will evaluate the performance over my data

Re: Solr Stream vs Export Request Handlers

2018-10-02 Thread Kamal Kishore Aggarwal
gt; > modify, join etc on the fly. > > > > PS: When the /export docs says it uses a streaming tecnique, it does NOT > > mean that it has uses the solr feature streaming expressions :) > > > > -- > > Jan Høydahl, search solution architect > > Co

Solr Stream vs Export Request Handlers

2018-09-27 Thread Kamal Kishore Aggarwal
Hi, I have a requirement to fetch all data from a collection. One way is to use streaming expression and other way is to use export. Streaming expression documentation says *streaming functions are designed to work with entire result sets rather then the top N results like normal search. This is

Re: Solr Default query parser

2018-07-01 Thread Kamal Kishore Aggarwal
; if you don't specify any defType, they will be used. Though if you > want to be explicit and specify it anyway, the value is defType=lucene > > Jason > On Mon, Jun 25, 2018 at 1:05 PM Kamal Kishore Aggarwal > wrote: > > > > Hi Shawn, > > > > Thanks f

Re: Solr Default query parser

2018-06-25 Thread Kamal Kishore Aggarwal
n Wed, Jun 6, 2018 at 9:41 PM, Shawn Heisey wrote: > On 6/6/2018 9:52 AM, Kamal Kishore Aggarwal wrote: > >> What is the default query parser (QP) for solr. > >> > >> While I was reading about this, I came across two links which looks > >> ambiguous to me. It&

Re: Solr Default query parser

2018-06-06 Thread Kamal Kishore Aggarwal
[Correcting the subject] On Wed, Jun 6, 2018 at 2:37 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi Guys, > > What is the default query parser (QP) for solr. > > While I was reading about this, I came across two links which looks > ambiguous to me. It&#

Sole Default query parser

2018-06-06 Thread Kamal Kishore Aggarwal
Hi Guys, What is the default query parser (QP) for solr. While I was reading about this, I came across two links which looks ambiguous to me. It's not clear to me whether Standard is the default QP or Lucene is the default QP or they are same. Below is the screenshot and links which are confusing

Re: Clob transformer not working in DIH

2016-12-13 Thread Kamal Kishore Aggarwal
Any help would be appreciated. On 12-Dec-2016 1:20 PM, "Kamal Kishore Aggarwal" wrote: > Any help guys ... > > On 09-Dec-2016 1:05 PM, "Kamal Kishore Aggarwal" > wrote: > >> Hi, >> >> I am using solr 5.4.1. Here I am using dataimport handl

Re: Clob transformer not working in DIH

2016-12-11 Thread Kamal Kishore Aggarwal
Any help guys ... On 09-Dec-2016 1:05 PM, "Kamal Kishore Aggarwal" wrote: > Hi, > > I am using solr 5.4.1. Here I am using dataimport handler to index data > with SQL Server. > > I am using CLOB transformer to convert clob value to string. Indexing is > working

Clob transformer not working in DIH

2016-12-08 Thread Kamal Kishore Aggarwal
Hi, I am using solr 5.4.1. Here I am using dataimport handler to index data with SQL Server. I am using CLOB transformer to convert clob value to string. Indexing is working fine but clob transformation is not working. Expected string value is not coming for clob column. There is no error or exce

Re: Blank/Null value search in term filter

2016-09-05 Thread Kamal Kishore Aggarwal
) for null values. > This can be done via default value update processor factory. > You index some placeholder token for null values. > fq={!terms f='queryField' separator='|'}A|XX would fetche docs with A or > null values. > Ahmet > > On Friday, September

Blank/Null value search in term filter

2016-09-02 Thread Kamal Kishore Aggarwal
Hi, We are using solr 5.4.1. We are using term filter for multiple value matching purpose. Example: fq={!terms f='queryField' separator='|'}A|B A, B, C are the possible field values for solr field "queryField". There can docs with null values for the same field. Now, how can I create a term filt

Re: Find records with no values in solr.LatLongType fied type

2015-09-30 Thread Kamal Kishore Aggarwal
t; P.S. It would help if you told us what you _did_ receive > when you tried your options. Parse errors? All docs? > > Best, > Erick > > On Mon, Sep 14, 2015 at 10:58 PM, Kamal Kishore Aggarwal > wrote: > > Hi, > > > > I am working on solr 4.8,1. I am tryi

Find records with no values in solr.LatLongType fied type

2015-09-14 Thread Kamal Kishore Aggarwal
Hi, I am working on solr 4.8,1. I am trying to find the docs where latlongtype have null values. I have tried using these, but not getting the results : 1) http://localhost:8984/solr/IM-Search/select?q.alt=-usrlatlong:[' ' TO *] 2) http://localhost:8984/solr/IM-Search/select?q.alt=-usrlatlong:[

Re: Solr Replication sometimes coming in log files

2015-09-14 Thread Kamal Kishore Aggarwal
Can anybody suggest me something.. On Wed, Sep 9, 2015 at 11:02 AM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi Team, > > I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. The solr > configuration has master & slave ( 2 Slaves) architecture.

Solr Replication sometimes coming in log files

2015-09-08 Thread Kamal Kishore Aggarwal
Hi Team, I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. The solr configuration has master & slave ( 2 Slaves) architecture. Master & Slave 2 are in same server location (say zone A) , whereas Slave 1 is in another server in different zone (say zone B). There is latency of 40 ms

Re: Protwords in solr spellchecker

2015-07-10 Thread Kamal Kishore Aggarwal
yzersTokenizersTokenFilters#solr.StopFilterFactory > > https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-StopFilter > > HTH > > > On Thu, Jul 9, 2015 at 11:50 AM, Kamal Kishore Aggarwal < > kkroyal@gmail.com> wrote: > > > Hi T

Protwords in solr spellchecker

2015-07-08 Thread Kamal Kishore Aggarwal
Hi Team, I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. Is there any feature by which I can refrain the following words to appear in spell suggestion. For example: Somebody searches for sexe, I does not want to show him sex as the spell suggestion via solr. How can I stop these t

Re: Java upgrade for solr in master-slave configuration

2015-05-21 Thread Kamal Kishore Aggarwal
Hi, Anybody tried upgrading master first prior to slave Java upgrade. Please suggest. On Tue, May 19, 2015 at 6:50 PM, Shawn Heisey wrote: > On 5/19/2015 12:21 AM, Kamal Kishore Aggarwal wrote: > > I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. The solr > >

Java upgrade for solr in master-slave configuration

2015-05-18 Thread Kamal Kishore Aggarwal
Hi, I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. The solr configuration has slave & master architecture. I am looking forward to upgrade Java from 1.7 to 1.8 version in order to take advantage of memory optimization done in latest version. So, I am confused if I should upgrade

Solr Performance with Ram size variation

2015-04-17 Thread Kamal Kishore Aggarwal
Hi, As per this article, the linux machine is preferred to have 1.5 times RAM with respect to index size. So, to verify this, I tried testing the solr performance in different volumes of RAM allocation keeping other configuration (i.e Solid State Drives, 8 core processor, 64-Bit) to be same in bot

Re: External File Field eating memory

2014-07-15 Thread Kamal Kishore Aggarwal
AM, Apoorva Gaurav wrote: > Hey Kamal, > What all config changes have you done to establish replication of external > files and how have you disabled role reloading? > > > On Wed, Jul 9, 2014 at 11:30 AM, Kamal Kishore Aggarwal < > kkroyal@gmail.com> wrote: > >

Re: Integrate NLP to solr

2014-07-10 Thread Kamal Kishore Aggarwal
; Ahmet > > > On Thursday, July 10, 2014 10:33 AM, Kamal Kishore Aggarwal < > kkroyal@gmail.com> wrote: > > > > Dear Team, > > I am working on solr 4.8.1 version. I want to integrate solr with NLP in > order to improve the search relevancy. I am following the

Integrate NLP to solr

2014-07-10 Thread Kamal Kishore Aggarwal
Dear Team, I am working on solr 4.8.1 version. I want to integrate solr with NLP in order to improve the search relevancy. I am following the tutorials: https://wiki.apache.org/solr/OpenNLP https://issues.apache.org/jira/browse/LUCENE-2899 Its says: - pull the latest trunk or 4.0 branch -

Re: External File Field eating memory

2014-07-08 Thread Kamal Kishore Aggarwal
Hi All, It was found that external file, which was getting replicated after every 10 minutes was reloading the core as well. This was increasing the query time. Thanks Kamal Kishore On Thu, Jul 3, 2014 at 12:48 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > With

Re: External File Field eating memory

2014-07-03 Thread Kamal Kishore Aggarwal
lin Shekhar Mangar < > shalinman...@gmail.com> wrote: > >> This might be related: >> >> https://issues.apache.org/jira/browse/SOLR-3514 >> >> >> On Sat, Jun 28, 2014 at 5:34 PM, Kamal Kishore Aggarwal < >> kkroyal@gmail.com> wrote: >> >

Re: External File Field eating memory

2014-07-02 Thread Kamal Kishore Aggarwal
gt; On Sat, Jun 28, 2014 at 5:34 PM, Kamal Kishore Aggarwal < > kkroyal@gmail.com> wrote: > > > Hi Team, > > > > I have recently implemented EFF in solr. There are about 1.5 > lacs(unsorted) > > values in the external file. After this implementation, the server

Error in replication eff files

2014-07-02 Thread Kamal Kishore Aggarwal
Dear Team, I am working on external file field. But, I does not know the configuration of how to replicate the EFF files. This is master replication configuration: core/conf/solrconfig.xml commit startup ../data/external_eff_views The eff file is present at

Re: External File Field eating memory

2014-07-02 Thread Kamal Kishore Aggarwal
Any replies ?? On Sat, Jun 28, 2014 at 5:34 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi Team, > > I have recently implemented EFF in solr. There are about 1.5 > lacs(unsorted) values in the external file. After this implementation, the > server has

External File Field eating memory

2014-06-28 Thread Kamal Kishore Aggarwal
Hi Team, I have recently implemented EFF in solr. There are about 1.5 lacs(unsorted) values in the external file. After this implementation, the server has become slow. The solr query time has also increased. Can anybody confirm me if these issues are because of this implementation. Is that memor

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Kamal Kishore Aggarwal
Even after making the same java version, it is not working. I am using java.​runtime.​version:1.7.0_55-b13 On Tue, Jun 3, 2014 at 2:05 PM, rulinma wrote: > normal, rewrite filter. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Custom-filter-not-working-wi

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Kamal Kishore Aggarwal
On Wed, May 21, 2014 at 1:38 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Thanks Shawn for quick reply. > > I am trying to change the code (removing the errors from the code shown in > image) & will test the filter after that & will update here. > >

Nested boosting in map function in solr?

2014-06-02 Thread Kamal Kishore Aggarwal
Dear Team, I am trying to implement nested boosting in solr using map function. http://www.example.com:8984/solr/collection1/select?&q=laundry services&boost=map(query({!dismax qf=titlex !v=$ql3 pf=""}),0,0,1,map(query({!dismax qf=city v='"mumbai"' pf=""}),0,0,1,15))&ql3="laundry services". But

NumberFormatException in solr.SpatialRecursivePrefixTreeFieldType in solr upgrade

2014-05-21 Thread Kamal Kishore Aggarwal
I am using following field type with solr 4.2 & its working fine. But, when I am upgrading solr to solr 4.7.1, it is reporting following errors while posting docs: Caused by: com.spatial4j.core.exception.InvalidShapeException: java.lang.NumberFormatException: For input string: "78.42968,30.7333

Re: Custom filter not working with solr 4.7.1

2014-05-21 Thread Kamal Kishore Aggarwal
Thanks Shawn for quick reply. I am trying to change the code (removing the errors from the code shown in image) & will test the filter after that & will update here. Thanks Kamal Kishore On Mon, May 19, 2014 at 10:17 PM, Shawn Heisey wrote: > On 5/19/2014 1:10 AM, Kamal Kisho

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
I am new to solr. I am not getting your answer. Can you please explain in more detail. On Mon, May 19, 2014 at 12:40 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Dear Team, > > I have created a custom filter factory for solr 4.2. It is working good. > But w

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
I am new to solr. I am not getting your answer. Can you please explain in more detail. On Mon, May 19, 2014 at 4:02 PM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > I am new to solr. I am not getting your answer. Can you please explain in > more detail. > > > On

Subscribe for Solr Mails

2014-05-19 Thread Kamal Kishore Aggarwal
Dear Team, I am new to solr. Please subscribe me for solr mails. With Regards & Thanks Kamal Kishore

Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
Dear Team, I have created a custom filter factory for solr 4.2. It is working good. But when I am trying to upgarde solr-4.2 to 4.7 version, it is reporting errors. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] analyzer/filter: Error instantiating class: 'o