DIH - Parent-Child-Problems - GrapQuery-Or-BlockJoin - Order with Orderlines

2017-01-31 Thread Kent Iversen
I'm a newbie to Solr and can't seem to get this to work, properly. Gonna use Order with Orderlines as an example. And I'm using Solr 6.3.0 ORDER | orderid | customername | | 1 | ACME

Re: Upgrade SOLR version - facets perfomance regression

2017-01-31 Thread SOLR4189
Tom, I already tried this syntax (and many another different syntax). It still doesn't work. Are you sure that no need to change facet name in request handler to something else? -- View this message in context:

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

2017-01-31 Thread Renee Sun
Thanks Erick! I looked at solr twiki though if configSetBaseDir is not set, the default should be SOLR_HOME/configsets: configSetBaseDir The directory under which configsets for solr cores can be found. Defaults to SOLR_HOME/configsets and I do have my solr started with :

Re: Solr Kafka DIH

2017-01-31 Thread John Bickerstaff
I wrote a simple java microservice that did this about a year ago... It was pretty simple - and the kafka topic served as a way to re-create my collection from scratch without hitting the database again in the event of the Solr servers going down. The code just read from Kafka topic one by one

Re: Solr Kafka DIH

2017-01-31 Thread Joel Bernstein
This would make a great Streaming Expression as well. If you're interested in working on this I'll help out along the way. Here is an example Stream that connects to a JDBC data source:

How to resolve exception - Unable to create HttpClient instance

2017-01-31 Thread Abhijit Pawar
Hello, I am working SOLR 5.4.1 which is installed on LINUX OS. I have indexed the XML data and now using SOLRJ API to get it in my Java class and displaying it in JSP page. When I run the code it throws this exception : Exception : Unable to create HttpClient instance. Any idea how to resolve

Re: How to combine third party search data as top results ?

2017-01-31 Thread shamik
Thanks, John. The title is not unique, so I can't really rely on it. Also, keeping an external mapping for url and id might not feasible as we are talking about possibly millions of documents. URLs are unique in our case, unfortunately, it can't be used as part of Query elevation component since

Re: Arabic words search in solr

2017-01-31 Thread Steve Rowe
Mohan, I downloaded and started Solr 4.9.0 and entered your example indexed and queried words into the Admin UI’s Analysis pane using the text_ar field type. You can see the results here: . Each of the indexed words and the

Re: How to combine third party search data as top results ?

2017-01-31 Thread John Bickerstaff
Some random thoughts... In case any of them are helpful... If the URLs are unique you might be able to elevate them "as is" with a boost or some other method... If the titles are unique, you might be able to do the same (this might require storing the EXACT title in another, non-indexed field)

How to combine third party search data as top results ?

2017-01-31 Thread Shamik Bandopadhyay
Hi, I'm trying to integrate results from a third party source with our existing search. The idea is to include the top 5 results from this source as the top result of our search.Though the external data is indexed in our system, the use case dictates us to use their ranking (by getting the top

Re: Single call for distributed IDF?

2017-01-31 Thread Joel Bernstein
I think I understand the process you describe in your blog. I'm not sure that I would choose to do that approach. For some Streaming Expressions work I was doing I fetched the global IDF for the specific terms upfront at the aggregator node. This was taking around 5-10 milli-seconds in my tests,

Query structure

2017-01-31 Thread KRIS MUSSHORN
I have a defaultSearchField and facetMetatagDatePrefix4 fields that are correctly populated with values in SOLR 5.4.1. if execute this query q=defaultSearchField:this text I get the 7 docs that match. Their are three docs in 2015 and one doc in 2016 per the facet counts in the results. If I

Re: Solr Kafka DIH

2017-01-31 Thread Mike Thomsen
Probably not, but writing your own little Java process to do it would be trivial with Kafka 0.9.X or 0.10.X. You can also look at the Confluent Platform as they have tons of connectors for Kafka to directly feed into other systems. On Mon, Jan 30, 2017 at 3:05 AM, Mahmoud Almokadem

Re: Single call for distributed IDF?

2017-01-31 Thread Walter Underwood
The usual reason to do a second call to get the stats for global IDF is to get around an Infoseek patent on the single call version. But that patent finally expired a couple of years ago, so now there is no reason to do a second call. wunder Walter Underwood wun...@wunderwood.org

Re: Arabic words search in solr

2017-01-31 Thread Erick Erickson
If you look in the upper-lerf corner of any reference guide page you'll see a link to previous versions of the docs and can download whatever version you are working with back to 4.7 IIRC. I'd download that and see if there's similar functionality. On Mon, Jan 30, 2017 at 10:19 PM, mohan sundaram

Re: solr-user-unsubscribe

2017-01-31 Thread Erick Erickson
Please follow the instructions here: http://lucene.apache.org/solr/community.html#mailing-lists-irc. You must use the _exact_ same e-mail as you used to subscribe. If the initial try doesn't work and following the suggestions at the "problems" link doesn't work for you, let us know. But note you

Re: solr-user-unsubscribe

2017-01-31 Thread Erick Erickson
Please follow the instructions here: http://lucene.apache.org/solr/community.html#mailing-lists-irc. You must use the _exact_ same e-mail as you used to subscribe. If the initial try doesn't work and following the suggestions at the "problems" link doesn't work for you, let us know. But note you

Re: 6.4 in a 6.2.1 cluster?

2017-01-31 Thread Kevin Risden
Just my two cents: I wouldn't trust that it completely works to be honest. It works for the very small test case that was put together (select q=*:*). I would love to add more tests to it. If there are any ideas of things that you think should be tested that would be great to comment on the JIRA

Re: Results personaliazation

2017-01-31 Thread Ugo Matrangolo
Hi, tx for the reply. Unfortunately storing/pre-calculating personalized prices and storing in the index is out of the question; in the near future we could have some other variables that changes per user/per request. Also, the docs we store are beefy and we really would love to avoid to

Re: 6.4 in a 6.2.1 cluster?

2017-01-31 Thread Walter Underwood
I’m sure people need to do this, so I’ll share it worked for me. I just noticed that there is a new integration test being written to verify that this works. Great! https://issues.apache.org/jira/browse/SOLR-8581 wunder Walter Underwood

Re: Results personaliazation

2017-01-31 Thread Alexandre Rafalovitch
(this is theoretical, rather than practice-based reasoning, others may have better ideas). You seem to have several issues. The displayed currency seems to be an independent variable from anything else (bad) that is a uniform scale for all prices (good). So, I would keep that out of Solr and

Results personaliazation

2017-01-31 Thread Ugo Matrangolo
Hi I'm working on app where we use Solr for our search. Items out of the search have to be price personalized based on the country/ip/locale of the customer (e.g. configured currency in its settings + duties & VAT for his/her country). We also need to filter on a price range that has to take in

Re: How to create solr custom filter

2017-01-31 Thread Alexandre Rafalovitch
There is also Alba to help writing plugins: https://github.com/leonardofoderaro/alba Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 31 January 2017 at 00:10, Mugeesh Husain wrote: > thank you Alessandro and Andrea for

solr-user-unsubscribe

2017-01-31 Thread Jiangenbo
solr-user-unsubscribe

solr-user-unsubscribe

2017-01-31 Thread Rowe, William - 1180 - MITLL
solr-user-unsubscribe From: Rowe, William - 1180 - MITLL Sent: Monday, January 30, 2017 7:54 AM To: 'solr-user@lucene.apache.org' Subject: solr-user-unsubscribe Bill Rowe Senior Software Developer Technology Innovation & Integration, Information Services Department (ISD) MIT

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

2017-01-31 Thread alessandro.benedetti
If a document is not in Solr, Solr will not return it. Of course you can play with the API and have your client that will do the checks and return what you like. What you will need to do is to fetch the IDs OK from Solr and then you subtract them from your original list. Another solution is to

Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
It is already possible[1]. I still don't understand why your default stopped working. You said that when you changed the name of your fields ( that were used in the copy fields as destination), the default value ( coming from the source field) stopped to work. How did you solve that issue ? Have

Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
I solved it by changing the field names to camelcase and adding the facet limit parameter to the query. Sent from my iPhone > On Jan 31, 2017, at 4:19 AM, alessandro.benedetti > wrote: > > What was the problem with the default in the end ? > > Cheers > > > > -- >

Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
It would be nice if facets and all the parameters could be configured in a config/xml file. Sent from my iPhone > On Jan 31, 2017, at 4:19 AM, alessandro.benedetti > wrote: > > What was the problem with the default in the end ? > > Cheers > > > > -- > View this

Re: Joining Across Collections

2017-01-31 Thread nabil Kouici
Hi All, It seems that it's not possible to compare fields from different collections. I have another question: Is it possible to use join to get all documents which existe in the first collection but not in the second.It's equivalent to SQL statement:  Select A.* From Collection1 A LEFT OUTER

RE: Return specific field from child documents.

2017-01-31 Thread Preeti Bhat
Same result. Thanks, Preeti -Original Message- From: Mikhail Khludnev [mailto:m...@apache.org] Sent: Tuesday, January 31, 2017 3:15 PM To: solr-user Subject: Re: Return specific field from child documents. ok. what about emp.q={!child of=content_type:parent}{!terms f=id v=$row.id} On

Re: Upgrade SOLR version - facets perfomance regression

2017-01-31 Thread Tom Evans
On Tue, Jan 31, 2017 at 5:49 AM, SOLR4189 wrote: > 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: >

Re: Return specific field from child documents.

2017-01-31 Thread Mikhail Khludnev
ok. what about emp.q={!child of=content_type:parent}{!terms f=id v=$row.id} On Tue, Jan 31, 2017 at 11:22 AM, Preeti Bhat wrote: > Hi Mikhail, > > Thanks for reply, but It doesn't seem to work. > > http://localhost:8984/solr/Contact/select?fl=id, >

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

2017-01-31 Thread Maciej Ł. PCSS
Thank you Erick. Yes, I'm still thinking about that use case. Regards Maciej W dniu 30.01.2017 o 17:12, Erick Erickson pisze: 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

Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
What was the problem with the default in the end ? Cheers -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Return specific field from child documents.

2017-01-31 Thread Preeti Bhat
Hi Mikhail, Thanks for reply, but It doesn't seem to work.

Re: Return specific field from child documents.

2017-01-31 Thread Mikhail Khludnev
it should be something like emp.q={!child of=content_type:parent}{!terms f=contact_id v=$row.id} On Tue, Jan 31, 2017 at 10:30 AM, Preeti Bhat wrote: > Hi Mikhail, > > I was trying to restrict the data from child documents due to one of the > request of the client