RE: Return specific field from child documents.

2017-01-30 Thread Preeti Bhat
Hi Mikhail, I was trying to restrict the data from child documents due to one of the request of the client where they would need the specific fields as output. The below query gives me the firstName and Last Name as expected but not the email which is part of the child document.

RE: Best and efficient way to find out whether set of records available in Solr

2017-01-30 Thread M, Arjun (Nokia - IN/Bangalore)
Hi Erick, Let me put it in other way. Id : 1,2,3 are present in solr db. I query with query param id with values 3,4,5,6, it should return 4,5,6(records not present in solr) Thanks & Regards, Arjun M -Original Message- From: Erick Erickson

Re: allograph matching

2017-01-30 Thread alessandro.benedetti
You are welcome ! Related your points : 1) until you replace chars in a 1 to 1 manner, you should see no problem. If your mappings become different, you can always use an highlighter that will take your analysis chain in consideration 2) term count would not be a problem as you will count the

Solr Partial Update query

2017-01-30 Thread kshitij tyagi
Hi, I want to update document in solr partial. The issue I am facing is that I want to update only those documents in solr that are already present. I dont want to query solr to check if documnet is present or not, i just want to post updates to existing documents. How can I achieve this. Help

Re: How to create solr custom filter

2017-01-30 Thread alessandro.benedetti
Hi Mugeesh, you don't really need the main method in any java class as a requirement for compilation ! Just take a look to building systems such as gradle[1] and maven[2]. Cheers [1] https://gradle.org [2]https://maven.apache.org -- View this message in context:

Re: How to create solr custom filter

2017-01-30 Thread Andrea Gazzarini
On top of what Alessandro already told you, here's a brief post [1] that can be useful for setting up your dev environment. HTH Andrea [1] http://andreagazzarini.blogspot.it/2016/11/quickly-debug-your-solr-add-on.html On 30/01/17 11:16, alessandro.benedetti wrote: Generally speaking I

Re: allograph matching

2017-01-30 Thread Danilo Giacomi
Thanks Alessandro, I didn't know about that CharFilterFactory, and in a first quick test it behaves well. I have to check what happens with highlights, term count and the like, but at least I have a trail :) Cheers, Danilo

Re: solr-user-unsubscribe

2017-01-30 Thread Dorian Hoxha
Come on dude. Just look at instructions. Have a little respect. On Mon, Jan 30, 2017 at 1:55 PM, Rowe, William - 1180 - MITLL < william.r...@ll.mit.edu> wrote: > solr-user-unsubscribe > > >

Re: allograph matching

2017-01-30 Thread Danilo Giacomi
Hi again, thanks for this information. I've since run some tests and, of course, they reflect what you said, but it's good to have a confirmation. Grazie, Danilo On Mon, Jan 30, 2017 at 3:42 PM, alessandro.benedetti wrote: > You are welcome ! > Related your points : >

[Benchmark SOLR] JETTY VS TOMCAT - Jetty 15% slower - need advice to improve Jetty performance

2017-01-30 Thread Gerald Reinhart
Hello, In addition to the following settings, we have tried to : - force Jetty to use more threads - put the same GC options as our Tomcat - change nb of acceptors and selectors and every time Jetty is slower than Tomcat. Any advice is welcome Thanks,

Re: How to create solr custom filter

2017-01-30 Thread alessandro.benedetti
Generally speaking I assume you want to write a Solr plugin [1] ( or you are forking Solr instead?) So you need to package your jar. You can setup your IDE as you usually do, and use a building framework such as Maven/Gradle. After you have your jar you can easily import it in Solr, specifying the

Re: Upgrade SOLR version - facets perfomance regression

2017-01-30 Thread SOLR4189
After failining SOLR-5.4.1, we checked SOLR-5.5.2 also. -- View this message in context: http://lucene.472066.n3.nabble.com/Upgrade-SOLR-version-facets-perfomance-regression-tp4315027p4317804.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Return specific field from child documents.

2017-01-30 Thread Mikhail Khludnev
Hello, You hardly get any gain limiting child field output. You can do that with [subquery] result transformer. On Mon, Jan 30, 2017 at 11:09 AM, Preeti Bhat wrote: > Hi All, > > I am trying out the nested documents concept for SOLR. I am able to show > the specific

RE: solr-user-unsubscribe

2017-01-30 Thread Rowe, William - 1180 - MITLL
solr-user-unsubscribe smime.p7s Description: S/MIME cryptographic signature

solr-user-unsubscribe

2017-01-30 Thread Syed Mudasseer

Re: Documents issue

2017-01-30 Thread KRIS MUSSHORN
Allesandro et al. I tried this with no change in the results. "Other" is still missing when doctype is empty.. No dynamicFields are involved. - Original Message - From: "alessandro.benedetti" To: solr-user@lucene.apache.org Sent: Friday, January 27,

allograph matching

2017-01-30 Thread Danilo Giacomi
Hi all, we have some latin documents indexed in SOLR which we'd like to search through using allographs as well. This means that, as there have been different ways to write the same letters over the time, we can now have the same word written using different letters. This specifically resolves

Re: How to create solr custom filter

2017-01-30 Thread Mugeesh Husain
Thank you so much Alessandro Benedetti, it really help me, that the things which i was looking for, one more thing I need to know, how to compile the class file without have main method. -- View this message in context:

Re: DocValues and facet searches

2017-01-30 Thread alessandro.benedetti
It could be. Which version of Solr are you using ? Unfortunately I can not access your responses snippets, is it any exception in the logs ? Cheers -- View this message in context: http://lucene.472066.n3.nabble.com/DocValues-and-facet-searches-tp4317763p4317814.html Sent from the Solr - User

Re: After migrating to SolrCloud

2017-01-30 Thread Sergio García Maroto
Thanks a lot guys. It was the F5 load balancer. Regards, Sergio On 28 January 2017 at 01:50, Chris Hostetter wrote: > > That error means that some client talking to your server is attempting to > use an antiquated HTTP protocol version, which was (evidently) supported

Re: SQL-like queries (with percent character) - matching an exact substring, with parts of words

2017-01-30 Thread Maciej Ł. PCSS
Hi All, What solution have you applied in your implementations? Regards Maciej W dniu 24.01.2017 o 14:10, Maciej Ł. PCSS pisze: Dear SOLR users, please point me to the right solution of my problem. I'm using SOLR to implement a Google-like search in my application and this scenario is

Re: Commit/callbacks doesn't happen on core close

2017-01-30 Thread alessandro.benedetti
Hi Saiks, I am not following you. According to the Solr documentation : "transient=["true"|"false"]. Whether the core should be put in the LRU list of cores that may be unloaded. NOTE: When a core is unloaded, any outstanding operations (indexing or query) will be completed before the core is

Re: Upgrade SOLR version - facets perfomance regression

2017-01-30 Thread SOLR4189
After failing with SOLR-5.4.1, we checked SOLR-5.5.2 also. Most of our facet fields are multivalued. I see that Json Facet API is experimental API and I can't find how to use it (I am not speaking about syntax, I need to know how to use it from the point of view of configurations and jars). I

Re: allograph matching

2017-01-30 Thread alessandro.benedetti
Hi Danilo, Have you tried using the CharFilter[1] concept in an analysis chain ? For example the MappingCharFilter. You could map : u -> v j -> i y -> i It's a shot in the dark but should work! You can do that both at index/query time. I would need to refresh my latin to understand if my

Re: Upgrade SOLR version - facets perfomance regression

2017-01-30 Thread alessandro.benedetti
You should not give up, starting from 5.5 uif should be there helping and starting from 6.1 term enum is fixed as well. There is still the logic of forcing a facet approach depending on your config and request parameters [1]. It is not expected you don't solve your problem with docValues either

solr-user-unsubscribe

2017-01-30 Thread Rowe, William - 1180 - MITLL
Bill Rowe Senior Software Developer Technology Innovation & Integration, Information Services Department (ISD) MIT Lincoln Laboratory 244 Wood Street Lexington, MA 02420 Office: 781-981-4520 Mobile: 774-210-0853 william.r...@ll.mit.edu smime.p7s Description: S/MIME

Re: Upgrade SOLR version - facets perfomance regression

2017-01-30 Thread alessandro.benedetti
Hi, Reading in here : https://issues.apache.org/jira/browse/SOLR-8466 It seems that uif has been introduced in Solr 5.5 ( you were using 5.4.1 , were't you?) Furthermore, I would recommend to check if your field is/isn't multi-valued ( that could affect as well) It is weird you don't get any

Re: SQL-like queries (with percent character) - matching an exact substring, with parts of words

2017-01-30 Thread Erick Erickson
Well, the usual Solr solution to leading and trailing wildcards is to ngram the field. You can get the entire field (incuding spaces) to be analyzed as a whole by using KeywordTokenizer. Sometimes you wind up using a copyField to support this and search against one or the other if necessary. You

Re: solr-user-unsubscribe

2017-01-30 Thread Erick Erickson
It's all an automated process, Please follow the "unsubscribe" instructions here: http://lucene.apache.org/solr/community.html#mailing-lists-irc You must use the _exact_ e-mail address you used to subscribe with. the "Problems" link provides additional information. On Mon, Jan 30, 2017 at 4:55

Re: How to alter the facet query limit default

2017-01-30 Thread KRIS MUSSHORN
Alexandre.. Once i converted to fieldnames without dots it worked.. thank you Kris - Original Message - From: "Alexandre Rafalovitch" To: "solr-user" Sent: Thursday, January 26, 2017 11:40:49 AM Subject: Re: How to alter the

Re: Solr Partial Update query

2017-01-30 Thread Alexandre Rafalovitch
Would SOLR-9918's SkipExistingDocumentsProcessorFactory help? https://issues.apache.org/jira/browse/SOLR-9918 It's been released with 6.4, just recently. Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 30 January 2017 at 09:35, kshitij tyagi

project related configsets need to be deployed in both data and solr install folders ?

2017-01-30 Thread Renee Sun
Hi - We use separate solr install and data folders with a shared schema/config (configsets) in multi-cores setup, it seems the configsets need to be deployed in both places (we are running solr 6.4.0)? for example, solr is installed in /opt/solr, thus there is folder:

Re: Solr Shard Splitting Issue

2017-01-30 Thread Anshum Gupta
I see a successful completion of the request in the logs here: 2017-01-18 14:43:55.439 INFO (OverseerStateUpdate-97304349976428549-10.1.1.78:4983_solr-n_00) [ ] o.a.s.c.o.SliceMutator Update shard state invoked for collection: collection1 with message: { "shard1":"inactive",

Fwd: Arabic words search in solr

2017-01-30 Thread mohan sundaram
Hi, I went through the solr references document which you shared in the link. Your shared references document pointing to solr version 6.4.0. The implemented Solr version in my project is 4.9.0. As I mentioned earlier In my solr schema.xml I defined product Arabic name field as below:

Re: Best and efficient way to find out whether set of records available in Solr

2017-01-30 Thread Erick Erickson
bq: if below are the records available in solr, I need to whether id with values 3,4,5,6 are available in solr or not This just doesn't make sense to me. _How_ do you decide you want to know certain docs aren't available? What relation is there between the presence of docs 1, 2 and 3 and the

Re: Upgrade SOLR version - facets perfomance regression

2017-01-30 Thread SOLR4189
But I can't run Json Facet API. I checked on SOLR-5.4.1. If I write: localhost:9001/solr/Test1_shard1_replica1/myHandler/q=*:*=5=*=json=true=someField It works fine. But if I write: localhost:9001/solr/Test1_shard1_replica1/myHandler/q=*:*=5=*=json={field:someField} It doesn't work. Are you sure

Re: How to create solr custom filter

2017-01-30 Thread Mugeesh Husain
thank you Alessandro and Andrea for your help! -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-create-solr-custom-filter-tp4317767p4317928.html Sent from the Solr - User mailing list archive at Nabble.com.

Best and efficient way to find out whether set of records available in Solr

2017-01-30 Thread M, Arjun (Nokia - IN/Bangalore)
Hi, I have an use case where I need to find out whether a set of records are available in Solr. Please suggest best and efficient way to achieve it. Any suggestions are appreciated. For eg : if below are the records available in solr, I need to whether id with values 3,4,5,6

Re: project related configsets need to be deployed in both data and solr install folders ?

2017-01-30 Thread Erick Erickson
Hmmm, did you try specifying the configSetBaseDir in solr.xml? See: https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml Best, Erick On Mon, Jan 30, 2017 at 3:54 PM, Renee Sun wrote: > Hi - > > We use separate solr install and data folders with a shared

Re: Arabic words search in solr

2017-01-30 Thread mohanmca01
Hi Steve, Thanks for sharing the information. I went through the solr references document which you shared in the link. Your shared references document pointing to solr version 6.4.0. The implemented Solr version in my project is 4.9.0. As I mentioned earlier In my solr schema.xml I defined

Re: How to alter the facet query limit default

2017-01-30 Thread Erick Erickson
Alexandre: We recommend only using alphanum and underscore here: https://cwiki.apache.org/confluence/display/solr/Defining+Fields. WDYT about adding an explicit warning about this problem there? Or a JIRA about "field names with periods cannot use field qualifiers like f..facet.limit where

Solr Kafka DIH

2017-01-30 Thread Mahmoud Almokadem
Hello, Is there a way to get SolrCloud to pull data from a topic in Kafak periodically using Dataimport Handler? Thanks Mahmoud

Return specific field from child documents.

2017-01-30 Thread Preeti Bhat
Hi All, I am trying out the nested documents concept for SOLR. I am able to show the specific field for the parent document like "FirstName","LastName" but I am not able to show the specific field in fl for child. I would like to retrieve the email from the _childDocuments. Could someone