DIH deletes cause opening of searchers

2015-06-22 Thread Rudolf Grigeľ
Hello, I recently found out weird behavior while using the DIH with the Solr 5.2. I am using extended line entity processor which can also delete documents based on some special conditions (delete by query). The problem is that the DIH is incredibly slow compared to Solr 4.3. I have noticed in th

Re: Understanding the MoreLikeThis Handler

2015-06-22 Thread Sreekant Sreedharan
I seem to be missing something. I copied the configuration for the request handler in my solr config. It now looks like this true title^2.0 description^1.5 content^0.5 title,description,content 1 1 However, my query still results in no relevant r

Re: Solr Exact match boost Reduce the results

2015-06-22 Thread JACK
Hi Alessandro Benedetti, I have changed the query like this. /select?q=("dell+laptop"~13+OR+"dell+laptop")&df=product_name&defType=edismax&qf=product_name^0.001+dummy_product_name^2&fl=product_name&wt=json&indent=true&debug=true The corresponding results also given in the below link.Now am

Re: Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
Hi, I didnt apply SOLR-4460, I use Solr 5.1.0 and I can see same issue in log when it comes to gettingstarted example: no frame of reference to tell if we've missed updates, so that warn is execused. Issue now is getting sporadic answers for numFound when doing a plain select, seem like its querin

Re: Connecting to a Solr server remotely

2015-06-22 Thread Paden
That did it Shawn. Thanks for the help! -- View this message in context: http://lucene.472066.n3.nabble.com/Connecting-to-a-Solr-server-remotely-tp4213335p4213343.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Connecting to a Solr server remotely

2015-06-22 Thread Paden
I checked to see if the firewall rules were blocking it and there were no rules enabled and just to be sure I turned off the firewall completely and it's still being blocked but I did get a message with netstat that might help. tcp6 0 0 :::8983 :::*L

Re: Connecting to a Solr server remotely

2015-06-22 Thread Shawn Heisey
On 6/22/2015 1:48 PM, Paden wrote: > I've set up a Solr server on my Linux Virtual Machine. Now I'm trying to > access it remotely on my Windows Machine using an http request from a > browser. > > Any time I try to access it with a request such as > "http//localhost:8983/solr" I always get a conne

RE: Connecting to a Solr server remotely

2015-06-22 Thread Garth Grimm
Check the firewall settings on the Linux machine. By default, mine block port 8983, so the request never even gets to Jetty/Solr. -Original Message- From: Paden [mailto:rumsey...@gmail.com] Sent: Monday, June 22, 2015 2:48 PM To: solr-user@lucene.apache.org Subject: Connecting to a Solr

Re: Solr standalone + SSL and basic auth

2015-06-22 Thread Anshum Gupta
Hi, Can you provide with more context? Solr doesn't officially support the 'war' (Web application ARchive) any more. What version of Solr is this? What are you trying to accomplish? Also, the patches on SOLR-4460 are from over an year ago. On Mon, Jun 22, 2015 at 5:22 AM, Fadi Mohsen wrote: >

Connecting to a Solr server remotely

2015-06-22 Thread Paden
Hello, I've set up a Solr server on my Linux Virtual Machine. Now I'm trying to access it remotely on my Windows Machine using an http request from a browser. Any time I try to access it with a request such as "http//localhost:8983/solr" I always get a connection error (with the server running

Re: Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
Thank you for your reply. Some of my objects are not fully indexed. I have 121 objects with sub-objects and when querying with “*:*” only 81 are found. The objects are in Json format. I use Solr from within Riak. On 22 Jun 2015, at 17:31, Alessandro Benedetti mailto:benedetti.ale...@gmail.com

Re: Auto-suggest in Solr

2015-06-22 Thread Alessandro Benedetti
Can any of our beloved super guru take a look to my mail ? It could help Edwin as well :) Cheers 2015-06-19 11:53 GMT+01:00 Alessandro Benedetti : > Actually the documentation is not clear enough. > Let's try to understand this suggester. > > *Building* > This suggester build a FST that it will

Re: Nested objects and map in Solr

2015-06-22 Thread Alessandro Benedetti
Join is not only query time related. Join is the Solr approach to nested documents. Block join and Query time join are 2 different strategies with different pros and cons . Basically : Block Join : - force you to follow a specific indexing strategy - if you want to update a child you need to updat

Re: Understanding the MoreLikeThis Handler

2015-06-22 Thread Alessandro Benedetti
The syntax seems find to me. One of the requirement for the MLT is to have the field(s) to use for the processing to be stored ( if termVector is enabled better) . Apparently from your snippets this is not your problem. Can you confirm you have the field you are interested stored ( it seems so fro

Re: Understanding the MoreLikeThis Handler

2015-06-22 Thread Sreekant Sreedharan
Also, in the documentation it says: /MoreLikeThis constructs a lucene query based on terms within a document. For best results, use stored TermVectors in the schema.xml for fields you will use for similarity. If termVectors are not stored, MoreLikeThis will generate terms from stored fields. /

Understanding the MoreLikeThis Handler

2015-06-22 Thread Sreekant Sreedharan
I am trying to implement a search for documents with similar texts like a sample document. I assumed that the SOLR MoreLikeThis handler would suit me well. I have been able to setup the handler and it seems to work. I have a core called images2. And I have the following entry in my solrconfig.xm

Re: Replication as backup in SolrCloud

2015-06-22 Thread Erick Erickson
Currently, one is best off treating these as two separate clusters and having your client send the data to both, or reproducing your system-of-record and running your DCs completely separately. Hopefully soon, though, there'll be what you're asking for active/passive DCs, see: https://issues.apach

Replication as backup in SolrCloud

2015-06-22 Thread StrW_dev
Hi, I have a SolrCloud cluster in one data center, but as backup I want to have a second (replicated) cluster in another data center. What I want is to replicate to this second cluster, but I don't want my queries to go to this cluster. Is this possible within SolrCloud? As now it seems to repli

[ANNOUNCE] Book: Apache Solr Enterprise Search Server, Third Edition

2015-06-22 Thread david.w.smi...@gmail.com
Solr community, David Smiley, Eric Pugh, Kranti Parisa, and Matt Mitchell are happy to *finally* announce the book “Apache Sor Enterprise Search Server, Third Edition” by Packt Publishing. You can find links to buy it Packt’s site & Amazon from our book’s official website: http://www.solrenterp

Re: understanding collapsingQParser with facet vs group.facet

2015-06-22 Thread Joel Bernstein
The group head is the document from each group that was selected during the collapse. Only the group heads remain in the result set following the collapse. It looks like in the example above you have the basic idea correct. Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Jun 20, 2015 at 12:4

Re: Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
Create collection : /solr/admin/collections?action=CREATE&name=${collectionName}&numShards=5&replicationFactor=3&maxShardsPerNode=3 On Mon, Jun 22, 2015 at 12:56 PM, Fadi Mohsen wrote: > Hi, I managed wiring up jetty and Solr war programmatically. > > After seeing SOLR-4470 (issues with inter c

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-22 Thread Maya G
I've tried your solution and encountered a problem. My child document has a multi-valued field. When I query the doc by its' guid, all of the field's values are returned. When I use the join block query only one value is returned for the multi-value field. Do you have any suggestions? Thank you

Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
Hi, I managed wiring up jetty and Solr war programmatically. After seeing SOLR-4470 (issues with inter cluster/node client calls), we now set: HttpClientUtil.setConfigurer(new MyCustomHttpClientConfigurer()); to setup clients before doing any inter node calls. also combined with: jettywebapp.setP

Re: Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
I have looked at the join but the problem isn’t with the query but on indexing sub-objects (in some places called also nested objects). The best documentation I have seen is http://yonik.com/solr-4-8-features/ but I am still getting very estrange indexes when I play with this approach and others

Re: Nested objects and map in Solr

2015-06-22 Thread Alessandro Benedetti
I would suggest you to take a look to the Solr Join ( block and query time join) . This is what you are looking for. Anyway, this request points out that the documentation is not good enough to address people to Nested Objects problems. Maybe this should highlight the need of improving that part of

Loading custom codec and SPI problem

2015-06-22 Thread Markus Jelsma
Hi - i've created a small Maven project with just a custom Lucene 4.3 codec. It is a basic MyCodec extends FilterCodec implementation, disabling compression. I have added the FQCN to the src/main/resources/META-INF/services/org.apache.lucene.codecs.Codec. I have checked the jar itself to see if

Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
Dear all, I am starting with Solr and I cannot index map(key,values) or nested objects in Solr. I have not been able to find a satisfactory answer online. Please could anyone let me know where to find the full documentation of how to index nested objects in Solr? Also how to index and reference

Nested objects in Solr

2015-06-22 Thread Amadeo Asco
Dear Sir/Madam, I am starting with Solr and I cannot index nested objects in Solr. I have not been able to find a satisfactory answer online. Please could you let me know where a full documentation of how to index nested objects in Solr can be found? Do I need to change the schema? How? I look