how to update index by c/c++?

2013-08-29 Thread Kevin
i know query a key word by " http://localhost:8983/solr/collection1/select?q=*solr*&wt=json&indent=true"; how to add/update records ?thanks Kevin

Solr - facet fields that contain other facet fields

2015-12-28 Thread Kevin Lopez
okenizer or strfield. What can I do to fix this? Is there an alternate way to accomplish this? *Here is my configuration:* Regards, Kevin

Re: Solr - facet fields that contain other facet fields

2015-12-28 Thread Kevin Lopez
ColonCancerField *(tokenized, analyzed) then I browse the ColonCancerField and the facets state that there is 1 document for not necessarily, but when selecting it, solr returns 2 results. -Kevin On Mon, Dec 28, 2015 at 10:22 AM, Jamie Johnson wrote: > Can you do the opposite? Index into an unan

Re: Solr - facet fields that contain other facet fields

2015-12-29 Thread Kevin Lopez
r have some type of position so I can highlight it). Regards, Kevin On Mon, Dec 28, 2015 at 12:49 PM, Erick Erickson wrote: > bq: so I cannot copy this field to a text field with a > keywordtokenizer or strfield > > 1> There is no restriction on whether a field is analyzed or not as fa

Re: Solr - facet fields that contain other facet fields

2015-12-31 Thread Kevin Lopez
script.js > > example config parameter > > > > > > /updateRequestProcessorChain ***/ > java -Durl=http://localhost:8983/solr/Cytokine/update -Dauto > -Dparams=update.chain=script -ja

Use SqlEntityProcessor in cached mode to repeat a query for a nested child element

2016-02-04 Thread Kevin Colgan
event entities aren't being created         This is IS working but the events query is being run twice so indexing is twice as slow         Anyone got any idea how to do this? I've already tried nesting the second child entity inside the other but this didn't work. Thanks,Kevin

Re: Use SqlEntityProcessor in cached mode to repeat a query for a nested child element

2016-02-04 Thread Kevin Colgan
pache/solr/handler/dataimport/DIHCacheSupport.html There doesn't seem to be a lot of documentation or examples for using cacheKey and SQLEntityProcessor around. Regards,Kevin On Thursday, February 4, 2016 9:31 PM, Alexandre Rafalovitch wrote: Where did cachePrimaryKey

[ANNOUNCE] YCSB 0.7.0 Release

2016-02-26 Thread Kevin Risden
On behalf of the development community, I am pleased to announce the release of YCSB 0.7.0. Highlights: * GemFire binding replaced with Apache Geode (incubating) binding * Apache Solr binding was added * OrientDB binding improvements * HBase Kerberos support and use single connection * Accumulo i

Re: NoSuchFileException errors common on version 5.5.0

2016-03-10 Thread Kevin Risden
This sounds related to SOLR-8587 and there is a fix in SOLR-8793 that isn't out in a release since it was fixed after 5.5 went out. Kevin Risden Hadoop Tech Lead | Avalon Consulting, LLC <http://www.avalonconsult.com/> M: 732 213 8417 LinkedIn <http://www.linkedin.com/company/ava

Re: Which line is solr following in terms of a BI Tool?

2016-04-13 Thread Kevin Risden
Solr JDBC driver is more of a convenience for querying. Kevin Risden On Tue, Apr 12, 2016 at 6:24 PM, Erick Erickson wrote: > The unsatisfactory answer is that the have different characteristics. > > The analytics contrib does not work in distributed mode. It's not > receiving

Re: Question on Solr JDBC driver with SQL client like DB Visualizer

2016-04-15 Thread Kevin Risden
xrwxrwx 0 0 05167 Apr 1 14:40 org/apache/solr/client/solrj/io/sql/ResultSetMetaDataImpl.class -rwxrwxrwx 0 0 0 10451 Apr 1 14:40 org/apache/solr/client/solrj/io/sql/StatementImpl.class -rwxrwxrwx 0 0 0 141 Apr 1 14:40 org/apache/solr/client/solrj/io/sql/packag

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Kevin Risden
getClusterState(). ZkStateReader zkStateReader = cloudSolrClient.getZkStateReader(); ClusterState clusterState = zkStateReader.getClusterState(); Kevin Risden Apache Lucene/Solr Committer Hadoop and Search Tech Lead | Avalon Consulting, LLC <http://www.avalonconsult.com/> M: 732 213 8417 LinkedIn

Re: Solr 6 / Solrj RuntimeException: First tuple is not a metadata tuple

2016-05-04 Thread Kevin Risden
de, the logs seem okay: The logs you shared don't seem to be the full logs. There will be a related exception on the Solr server side. The exception on the Solr server side will explain the cause of the problem. Kevin Risden On Wed, May 4, 2016 at 2:57 AM, deniz wrote: > I am trying to g

Re: Upload core.properties to ZooKeeper

2015-08-06 Thread Kevin Lee
re with your custom properties. See the section on “Upload a configuration directory” below for how to upload to Zookeeper. https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities <https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities> - Kevin > On Au

Re: Difficulties in getting Solrcloud running

2015-08-19 Thread Kevin Lee
Hi, Have you created a collection yet? If not, then there won’t be a graph yet. It doesn’t show up until there is at least one collection. - Kevin > On Aug 19, 2015, at 5:48 AM, Merlin Morgenstern > wrote: > > HI everybody, > > I am trying to setup solrcloud on ubun

Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-08-29 Thread Kevin Lee
-H 'Content-type:application/json' -d '{ "set-user-role" : {"user": ["search-user"]}}' http://localhost:8983/solr/admin/authorization After executing the above, access to /mysearch is protected until I restart the Solr and Zookeeper instances. However, the admin UI is never protected like the Wiki page says it should be once activated. https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin <https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin> Why does the authentication and authorization plugin not stay activated after restart and why is the Admin UI never protected? Am I missing any steps? Thanks, Kevin

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-08-31 Thread Kevin Lee
Anyone else running into any issues trying to get the authentication and authorization plugins in 5.3 working? > On Aug 29, 2015, at 2:30 AM, Kevin Lee wrote: > > Hi, > > I’m trying to use the new basic auth plugin for Solr 5.3 and it doesn’t seem > to be working quite r

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Kevin Lee
any plugin enabled even though security.json is already in zookeeper and then after they are started and the security.json is uploaded again I see it reconfigure to use the plugin. Thanks, Kevin > On Aug 31, 2015, at 11:22 PM, Noble Paul wrote: > > Admin UI is not protected by any of

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-01 Thread Kevin Lee
"browseRole" ] } } } Also tried adding the permission using the Authorization API, but no effect, still isn’t protecting the Collections API from being invoked without a username password. I do see in the S

Re: DataImportHandler scheduling

2015-09-01 Thread Kevin Lee
While it may be useful to have a scheduler for simple cases, I think there are too many variables to make it useful for everyone's case. For example, I recently wrote a script that uses the data import handler api to get the status, kick off the import, etc. However, before allowing it to just

Using bq param for negative boost

2015-09-02 Thread Kevin Lee
Hi, I’m trying to boost all results using the bq param with edismax where termA and termB do not appear in the field, but if phraseC appears it doesn’t matter if termA and termB appear. The following works and boosts everything that doesn’t have termA and termB in myField so the effect is that

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-02 Thread Kevin Lee
and restarting the > web browser," > > The browser remembers your login , So it is unlikely to prompt for the > credentials again. > > Why don't you try the RELOAD operation using command line (curl) ? > > On Tue, Sep 1, 2015 at 10:31 PM, Kevin Lee wrote: >

Re: Error in creating a new collection

2015-09-03 Thread Kevin Lee
t tries to load what you've uploaded to Zookeeper. - Kevin > On Sep 3, 2015, at 12:36 AM, shacky wrote: > > Hi Shalin, > thank you very much for your answer. > > I found out and managed in recreating the problem. > > I created a new collection, with the wrong configs

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread Kevin Lee
bring the instances back up, the security is no longer in place and I have to upload the security.json again for it to take effect. - Kevin > On Sep 3, 2015, at 10:29 PM, Noble Paul wrote: > > Both these are committed. If you could test with the latest 5.3 branch > it would be helpful

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread Kevin Lee
) [ ] o.a.s.c.CoreContainer Security conf doesn't exist. Skipping setup for authorization module. 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer No authentication plugin used. Thanks, Kevin > On Sep 4, 2015, at 5:47 AM, Noble Paul wrote: > > There are no down

Re: Config error mystery

2015-09-04 Thread Kevin Lee
stick both jars in that directory. Your error may be different, but as long as I have both jars in one of the two places mentioned above with the appropriate entry in solrconfig.xml if needed, then it has been working in my setups. - Kevin > On Sep 4, 2015, at 9:40 AM, Mark Fenbers wr

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-08 Thread Kevin Lee
Thanks Dan! Please let us know what you find. I’m interested to know if this is an issue with anyone else’s setup or if I have an issue in my local configuration that is still preventing it to work on start/restart. - Kevin > On Sep 5, 2015, at 8:45 AM, Dan Davis wrote: > > Kevi

Questions regarding indexing JSON data

2015-09-20 Thread Kevin Vasko
I am new to Apache Solr and have been struggling with indexing some JSON files. I have several TB of twitter data in JSON format that I am having trouble posting/indexing. I am trying to use a schemaless schema so I don't have to add 200+ records fields manually. 1. The first issue is none of

Lucene/Solr Git Mirrors 5 day lag behind SVN?

2015-10-23 Thread Kevin Risden
It looks like both Apache Git mirror (git://git.apache.org/lucene-solr.git) and GitHub mirror (https://github.com/apache/lucene-solr.git) are 5 days behind SVN. This seems to have happened before: https://issues.apache.org/jira/browse/INFRA-9182 Is this a known issue? Kevin Risden

CloudSolrClient query /admin/info/system

2015-10-26 Thread Kevin Risden
pache/solr/client/solrj/impl/CloudSolrClient.java#L808 [3] https://issues.apache.org/jira/browse/SOLR-4943 Kevin Risden Hadoop Tech Lead | Avalon Consulting, LLC <http://www.avalonconsult.com/> M: 732 213 8417 LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+

Re: CloudSolrClient query /admin/info/system

2015-10-27 Thread Kevin Risden
Created https://issues.apache.org/jira/browse/SOLR-8216 Kevin Risden Hadoop Tech Lead | Avalon Consulting, LLC <http://www.avalonconsult.com/> M: 732 213 8417 LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+ <http://www.google.com/+AvalonConsultingLLC>

CloudSolrClient Connect To Zookeeper with ACL Protected files

2015-11-13 Thread Kevin Lee
Hi, Is there a way to use CloudSolrClient and connect to a Zookeeper instance where ACL is enabled and resources/files like /live_nodes, etc are ACL protected? Couldn’t find a way to set the ACL credentials. Thanks, Kevin

Re: CloudSolrClient Connect To Zookeeper with ACL Protected files

2015-11-17 Thread Kevin Lee
Does anyone know if it is possible to set the ACL credentials in CloudSolrClient needed to access a protected resource in Zookeeper? Thanks! > On Nov 13, 2015, at 1:20 PM, Kevin Lee wrote: > > Hi, > > Is there a way to use CloudSolrClient and connect to a Zookeeper instance

Re: CloudSolrClient Connect To Zookeeper with ACL Protected files

2015-11-18 Thread Kevin Lee
Thanks Alan! That works! I was looking for a programatic way to do it, but this will work for now as it doesn’t seem to be supported. - Kevin > On Nov 18, 2015, at 1:24 AM, Alan Woodward wrote: > > At the moment it seems that it's only settable via System properties

syntax for increasing java memory

2015-02-23 Thread Kevin Laurie
with my Dovecot FTS. Thanks Kevin

Re: syntax for increasing java memory

2015-02-23 Thread Kevin Laurie
you are using. For the Oracle JVMs, use this to > get a list of extended options: > > java -X > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > On Feb 23, 2015, at 8:21 AM, Kevin Laurie > wrote: > >

Re: syntax for increasing java memory

2015-02-23 Thread Kevin Laurie
Hi Walter Got it. java -Xmx1024m -jar start.jar Thanks Kevin On Tue, Feb 24, 2015 at 1:00 AM, Kevin Laurie wrote: > Hi Walter, > > I am running :- > Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_65 24.65-b04) > > I tried running with this command:- > > java

apache solr - dovecot - some search fields works some dont

2015-02-23 Thread Kevin Laurie
Hi, I finally understand how Solr works(somewhat) its a bit complicated as I am new to the whole concept but I understand it as a search engine. I am using Solr with dovecot. and I found out that some seach fields from the inbox work and other dont. For example if I were to search To and From apac

Re: apache solr - dovecot - some search fields works some dont

2015-02-24 Thread Kevin Laurie
installed so the body search is not working. Could this be it? Might post this on dovecot to see if someone could answer about this. Kindly advise if you have any idea on this Ps.How do I check the body definition? Thanks Kevin On Tue, Feb 24, 2015 at 9:36 PM, Alexandre Rafalovitch wrote: > Wh

Re: apache solr - dovecot - some search fields works some dont

2015-02-24 Thread Kevin Laurie
request, you should be able to tell what fields are > being searched and check those fields in schema.xml for field type and > then field type's definition. Which is what I asked for in the > previous email. > > Regards, >Alex. > > On 24 Feb

Re: apache solr - dovecot - some search fields works some dont

2015-02-24 Thread Kevin Laurie
Hi Alex, Sorry for such noobness question. But where does the schema file go in Solr? Is the directory below correct? /opt/solr/solr/collection1/data Correct? Thanks Kevin On Wed, Feb 25, 2015 at 1:21 AM, Kevin Laurie wrote: > Dear Alex, > I checked the log. When searching the fields Fro

Re: apache solr - dovecot - some search fields works some dont

2015-02-24 Thread Kevin Laurie
Hi Alex, Below is where my schema is stored:- /opt/solr/solr/collection1/conf# File name: schema.xml Below output for body Anything you see that I should be concerned about? On Wed, Feb 25, 2015 at 1:27 AM, Kevin Laurie wrote: >

Re: apache solr - dovecot - some search fields works some dont

2015-02-25 Thread Kevin Laurie
> 1) What Dovecote sent > 2) What Solr received > 3) What Solr sent back > > I don't know your skill levels or your system setup to advise > specifically, but Network tracer (e.g. Wireshark) is good for 1. Logs > are good for 2. Using the query from 1) and manually running i

Re: apache solr - dovecot - some search fields works some dont

2015-02-25 Thread Kevin Laurie
85% of the mailbox, ETA 0:20 * OK Searched 92% of the mailbox, ETA 0:10 * OK Searched 98% of the mailbox, ETA 0:02 On Wed, Feb 25, 2015 at 11:39 PM, Kevin Laurie wrote: > Hi Alex, > > I get 1 error on start up > Is the error below serious:- > > > 2/25/2

get Multi-Valued field data from DocValues

2015-03-13 Thread Kevin Osborn
If I am finding the values of a long field for a single numeric field, I just do: DocValues.getNumeric(contex.reader(), "myField").get(docNumber). This returns the value of the field and everything is good. However, my field is a multi-valued long field. So, I need to do: DocValues.getSortedSet(

Re: get Multi-Valued field data from DocValues

2015-03-13 Thread Kevin Osborn
getSortedNumeric throws the following exception: unexpected docvalues type SORTED_SET for field 'space_list' (expected one of [SORTED_NUMERIC, NUMERIC]). Use UninvertingReader or index with docvalues. If I am reading the doumentation correctly, getSortedNumeric sorts the values, but it is still f

Re: get Multi-Valued field data from DocValues

2015-03-13 Thread Kevin Osborn
RDS).map(b => NumericUtils.prefixCodedToLong(docValues.lookupOrd(b))).toSet Basically, we set the document, then iterate through the Ords. And then convert the BytesRef to a long. On Fri, Mar 13, 2015 at 2:33 PM, Kevin Osborn wrote: > getSortedNumeric throws the following exception: > > unexpected docvalu

copy field from boolean to int

2015-03-17 Thread Kevin Osborn
I was hoping to use DocValues, but one of my fields is a boolean, which is not currently supported by DocValues. I can use a copyField to convert my boolean to a string. Is there is anyway to use a copyField to convert from a boolean to a tint?

Re: copy field from boolean to int

2015-03-18 Thread Kevin Osborn
to match "true" and "false" and > > replace them with "0" and "1" ? > > > > > > : Date: Tue, 17 Mar 2015 17:57:03 -0700 > > : From: Kevin Osborn > > : Reply-To: solr-user@lucene.apache.org > > : To: solr-user@lucen

PostFilter does not seem to work across shards

2015-03-20 Thread Kevin Osborn
I developed a post filter. My documents to be filtered are on two different shards. So, in a single-shard environment, DelegatingCollector.doSetNextReader is called twice. And collect is called the correct number of times. Everything went well and I got my correct number of results back. So, I the

Re: PostFilter does not seem to work across shards

2015-03-23 Thread Kevin Osborn
the filter is called for any documents on the second shard. On Fri, Mar 20, 2015 at 4:12 PM, Kevin Osborn wrote: > I developed a post filter. My documents to be filtered are on two > different shards. So, in a single-shard environment, > DelegatingCollector.doSetNextReader is called t

Re: PostFilter does not seem to work across shards

2015-03-23 Thread Kevin Osborn
ering in, it works fine. I retrieve the object and do my intersections. But, on the other shard, I don't have my user document. So, I have nothing to intersect with. That is a separate issue that I need to figure out. On Mon, Mar 23, 2015 at 8:09 AM, Kevin Osborn wrote: > A little mor

Query in Solr plugin across shards

2015-03-23 Thread Kevin Osborn
I have created a PostFilter. PostFilter creates a DelegatingCollector, which provides a Lucene IndexSearcher. However, I need to query for an object that may or may not be located on the shard that I am filtering on. Normally, I would do something like: searcher.search(new TermQuery(new Term("fi

Re: Query in Solr plugin across shards

2015-03-23 Thread Kevin Osborn
t its unique key. Although I suppose we could put all user objects on a single shard. Not an ideal solution though. I did see an option of using SolrJ CloudServer from within a plugin, but that didn't seem very desirable to me. -Kevin On Mon, Mar 23, 2015 at 10:41 AM, Erick Erickson wro

Bug: replies mixed up with concurrent requests from the same host

2015-07-01 Thread Kevin Perros
for another one, in a random fashion. Regards, Kevin

Re: Bug: replies mixed up with concurrent requests from the same host

2015-07-02 Thread Kevin Perros
Thanks for the answers, I also found that blog post about such issues: http://techbytes.anuragkapur.com/2014/08/potential-jetty-concurrency-bug-seen-in.html On 01/07/15 20:26, Chris Hostetter wrote: : Hmm, interesting. That particular bug was fixed by upgrading to Jetty : 4.1.7 in https://issue

Re: Bug: replies mixed up with concurrent requests from the same host

2015-07-06 Thread Kevin Perros
that each time a request was to be handled by a SearchComponent, a new instance of that SearchComponent was instanciated. So I did not bother about making my SearchComponent thread safe... I should have. Thank You for your help, Kevin On 01/07/15 11:26, Kevin Perros wrote: Hello, I'm new t

Re: NoNode error on -downconfig when node does exist?

2016-08-08 Thread Kevin Risden
Just a quick guess: do you have a period (.) in your zk connection string chroot when you meant an underscore (_)? When you do the ls you use /solr6_1/configs, but you have /solr6.1 in your zk connection string chroot. Kevin Risden On Mon, Aug 8, 2016 at 4:44 PM, John Bickerstaff wrote

Re: Unable to connect to correct port in solr 6.2.0

2016-09-12 Thread Kevin Risden
Jan - the issue you are hitting is Docker and /proc/version is getting the underlying OS kernel and not what you would expect from the Docker container. The errors for update-rc.d and service are because the docker image you are using is trimmed down. Kevin Risden On Mon, Sep 12, 2016 at 3:19 PM

Solr Special Character Search

2016-09-20 Thread Cheatham, Kevin
.2 UI. We've searched through lots of documentation but haven't had success yet. We also tried posting files not as text but seems we're not able to search for any special characters below hexadecimal 20. Any assistance would be greatly appreciated! Thanks! Kevin Cheatham | O

Convert BytesRef to long in Solr 6.2

2016-09-29 Thread Osborn, Kevin
to support converting BytesRef to long/int/etc. Is there a better method to do this? I would rather not deprecated code. -Kevin

Re: CheckHdfsIndex with Kerberos not working

2016-10-03 Thread Kevin Risden
java -cp "$(hdfs classpath):./server/solr-webapp/webapp/WEB-INF/lib/*:./server/lib/ ext/*:/hadoop/hadoop-client/lib/servlet-api-2.5.jar" -ea:org.apache.lucene... org.apache.solr.index.hdfs.CheckHdfsIndex hdfs://:8020/apps/solr/data/ExampleCollection/ core_node1/data/index Kevin Risden

Re: Problem with Password Decryption in Data Import Handler

2016-10-06 Thread Kevin Risden
I haven't tried this but is it possible there is a new line at the end in the file? If you did something like echo "" > file.txt then there would be a new line. Use echo -n "" > file.txt Also you should be able to check how many characters are in the file. Kevin R

Re: How to substract numeric value stored in 2 documents related by correlation id one-to-one

2016-10-19 Thread Kevin Risden
LR-8593 ( https://issues.apache.org/jira/browse/SOLR-8593) This is the Calcite integration and should enable a lot more SQL syntax as a result. Kevin Risden Apache Lucene/Solr Committer Hadoop and Search Tech Lead | Avalon Consulting, LLC <http://www.avalonconsult.com/> M: 732 213 8417 LinkedIn <

Re: Sorl shards: very sensitive to swap space usage !?

2016-11-10 Thread Kevin Risden
Agreed with what Shawn and Erick said. If you don't see anything in the Solr logs and your servers are swapping a lot, this could mean the Linux OOM killer is killing the Solr process (and maybe others). There is usually a log of this depending on your Linux distribution. Kevin Risden O

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread Kevin Risden
Was a JIRA ever created for this? I couldn't find it searching. One that is semi related is SOLR-8213 for SolrJ JDBC auth. Kevin Risden On Wed, Nov 9, 2016 at 8:25 PM, Joel Bernstein wrote: > Thanks for digging into this, let's create a jira ticket for this. > > Jo

Re: Hardware size in solrcloud

2016-11-16 Thread Kevin Risden
-definitive-answer/ Kevin Risden On Wed, Nov 16, 2016 at 1:12 PM, Mugeesh Husain wrote: > I have lots of document i dont know now how much it would be in future. for > the inilial stage, I am looking for hardware details(assumption). > > I are looking forward to setting up a billio

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread Kevin Risden
Thanks Sandeep! Kevin Risden On Wed, Nov 16, 2016 at 3:33 PM, sandeep mukherjee < wiredcit...@yahoo.com.invalid> wrote: > [SOLR-9779] Basic auth in not supported in Streaming Expressions - ASF JIRA > > | > | > | > | || > >| > > | > | > | |

Request to be added to the ContributorsGroup

2017-08-23 Thread Kevin Grimes
Hi there, I would like to contribute to the Solr wiki. My username is KevinGrimes, and my e-mail is kevingrim...@me.com <mailto:kevingrim...@me.com>. Thanks, Kevin

Re: Solr uses lots of shared memory!

2017-09-02 Thread Kevin Risden
oudfoundry/java-buildpack/issues/320 [5] https://devcenter.heroku.com/articles/tuning-glibc-memory-behavior [6] https://www.ibm.com/developerworks/community/blogs/kevgrig/entry/linux_glibc_2_10_rhel_6_malloc_may_show_excessive_virtual_memory_usage?lang=en Kevin Risden On Thu, Aug 24, 2017 a

solr 7.0.1: exception running post to crawl simple website

2017-10-11 Thread Kevin Layer
365) at org.apache.solr.util.SimplePostTool.execute(SimplePostTool.java:187) at org.apache.solr.util.SimplePostTool.main(SimplePostTool.java:172) quadra[git:master]$ Any ideas on what I did wrong? Thanks. Kevin

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Kevin, >> >> You are getting NPE at: >> >> String type = rawContentType.split(";")[0]; //HERE - rawContentType is NULL >> >> // related code >> >> String rawContentType = conn.getContentType(); >

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
... Time spent: 0:00:03.882 $ Thanks. Kevin

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
NG: Skipping URL with unsupported type text/html SimplePostTool: WARNING: The URL http://quadra:9091/index.md returned a HTTP result status of 415 0 web pages indexed. COMMITting Solr index changes to http://localhost:8983/solr/handbook/update/extract... Time spent: 0:00:00.531 quadra[git:master]$

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
; >> } >> } >> return false; >> } >> >> . >> >> It has another check for fileTypes, I can see the page ending with .md >> (which you are indexing) and not .html. Let's hope now this is not the >> issue. Did you see the &q

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Kevin, >> >> Just put "html" too and give it a shot. These are the types it is expecting: Same thing. >> >> mimeMap = new HashMap<>(); >> mimeMap.put("xml", "application/xml"); >> mimeMap.put(

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Hi Kevin, >> >> Can you post the solr log in the mail thread. I don't think it handled the >> .md by itself by first glance at code. How do I extract the log you want? >> >> Amrit Sarkar >> Search Engineer >> L

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Hi Kevin, >> >> Can you post the solr log in the mail thread. I don't think it handled the >> .md by itself by first glance at code. Note that when I use the admin web interface, and click on "Logging" on the left, I just see a spinn

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
:38.861 INFO (qtp1911006827-14) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/info/logging params={wt=json&_=1507905257696&since=0} status=0 QTime=14 2017-10-13 14:49:48.853 INFO (qtp1911006827-18) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/info/logging par

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Kevin, >> >> I am not able to replicate the issue on my system, which is bit annoying >> for me. Try this out for last time: >> >> docker exec -it --user=solr solr bin/post -c handbook >> http://quadra.franz.com:9091/index

Re: solr 7.0.1: exception running post to crawl simple website

2017-10-13 Thread Kevin Layer
Amrit Sarkar wrote: >> Kevin, >> >> fileType => md is not recognizable format in SimplePostTool, anyway, moving >> on. OK, thanks. Looks like I'll have to abandon using solr for this project (or find another way to crawl the site). Thank you for all the help, t

Re: Parallel SQL: GROUP BY throws exception

2017-10-17 Thread Kevin Risden
Calcite might support this in 0.14. I know group by support was improved lately. It might be as simple as upgrading the dependency? A test case showing the NPE would be helpful. We are using MySQL dialect under the hood with Calcite. Kevin Risden On Tue, Oct 17, 2017 at 8:09 AM, Joel Bernstein

Trouble using Jython script as ScriptTransformer

2017-11-02 Thread Kevin Grimes
Hey all, I’m running v6.3.0. I’ve been trying to configure a Jython ScriptTransformer in my data-config.xml (pulls from JdbcDataSource). But when I run the full import, it tries to interpret the script as JavaScript, even though I added the language=Jython attribute to the

Re: Solr7: Bad query throughput around commit time

2017-11-11 Thread Kevin Risden
> One machine runs with a 3TB drive, running 3 solr processes (each with one core as described above). How much total memory on the machine? Kevin Risden On Sat, Nov 11, 2017 at 1:08 PM, Nawab Zada Asad Iqbal wrote: > Thanks for a quick and detailed response, Erick! > > Unfortuna

Re: Recovery Issue - Solr 6.6.1 and HDFS

2017-11-22 Thread Kevin Risden
DFS blocks. This significantly helps query performance. There are a few configuration parameters that can help here. Kevin Risden On Wed, Nov 22, 2017 at 4:20 AM, Hendrik Haddorp wrote: > Hi Joe, > > sorry, I have not seen that problem. I would normally not delete a replica > if the sha

Re: Recovery Issue - Solr 6.6.1 and HDFS

2017-11-22 Thread Kevin Risden
Thanks for the detailed answers Joe. Definitely sounds like you covered most of the easy HDFS performance items. Kevin Risden On Wed, Nov 22, 2017 at 7:44 AM, Joe Obernberger < joseph.obernber...@gmail.com> wrote: > Hi Kevin - > * HDFS is part of Cloudera 5.12.0. > * Solr is co-

Re: Solr 6.3.0 SQL question

2016-11-28 Thread Kevin Risden
Is there a longer error/stack trace in your Solr server logs? I wonder if the real error is being masked. Kevin Risden On Mon, Nov 28, 2016 at 3:24 PM, Joe Obernberger < joseph.obernber...@gmail.com> wrote: > I'm running this query: > > curl --data-urlencode 'stmt=

Re: Documentation of Zookeeper's specific roles and functions in Solr Cloud?

2016-11-29 Thread Kevin Risden
is not forwarding requests to Solr. The client requests from Zookeeper and then the client uses that information to query Solr directly. Kevin Risden On Tue, Nov 29, 2016 at 10:49 AM, John Bickerstaff wrote: > All, > > I've thought I understood that Solr search requests are ma

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
For #3 specifically, I've always found this page useful: https://cwiki.apache.org/confluence/display/solr/Field+Properties+by+Use+Case It lists out what properties are necessary on each field based on a use case. Kevin Risden On Tue, Nov 29, 2016 at 11:49 AM, Erick Erickson wrote: >

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
uires only termVecotrs and termPositions and won't require stored to be true. Kevin Risden On Tue, Nov 29, 2016 at 12:00 PM, Kevin Risden wrote: > For #3 specifically, I've always found this page useful: > > https://cwiki.apache.org/confluence/display/solr/Field+ > Properti

Re: Adding DocExpirationUpdateProcessorFactory causes "Overlapping onDeckSearchers" warnings

2016-12-09 Thread Kevin Risden
around this. Kevin Risden On Fri, Dec 9, 2016 at 5:15 PM, Brent wrote: > I'm using Solr Cloud 6.1.0, and my client application is using SolrJ 6.1.0. > > Using this Solr config, I get none of the dreaded "PERFORMANCE WARNING: > Overlapping onDeckSearchers=2&

Re: 6.4 in a 6.2.1 cluster?

2017-01-31 Thread Kevin Risden
JIRA (ideally everything but prioritizing some examples would be nice). Kevin Risden On Tue, Jan 31, 2017 at 11:19 AM, Walter Underwood wrote: > 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 >

Re: How long for autoAddReplica?

2017-02-02 Thread Kevin Risden
onsAPI-REPLACENODE:MoveAllReplicasinaNodetoAnother - https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-DELETENODE:DeleteReplicasinaNode Kevin Risden On Thu, Feb 2, 2017 at 11:46 AM, Erick Erickson wrote: > bq: I don’t see a way to add replicas through the UI, so

Re: bin/post and self-signed SSL

2017-02-05 Thread Kevin Risden
;t had a chance. I'll try to share that info when I get back to my laptop. Kevin Risden On Feb 5, 2017 12:31, "Jan Høydahl" wrote: > Hi, > > I’m trying to post a document to Solr using bin/post after enabling SSL > with self signed certificate. Result is: > > $ post

Re: bin/post and self-signed SSL

2017-02-05 Thread Kevin Risden
-u : " https://SOLR_HOST:8983/solr/admin/collections?action=LIST"; ``` Kevin Risden On Sun, Feb 5, 2017 at 5:55 PM, Kevin Risden wrote: > Last time I looked at this, there was no way to pass any Java properties > to the bin/post command. This made it impossible to even set the SSL

Re: 回复: bin/post and self-signed SSL

2017-02-06 Thread Kevin Risden
I expect that the commands work the same or very close from 5.5.x through 6.4.x. There have been some cleaning up of the bin/solr and bin/post commands but not many security changes. If you find differently then please let us know. Kevin Risden On Feb 5, 2017 21:02, "alias" <524

Re: SSL using signed client certificate not working

2017-02-15 Thread Kevin Risden
ou need to configure your browsers. Client authentication is an extra part of SSL and not usually required. Kevin Risden On Feb 15, 2017 4:43 AM, "Espen Rise Halstensen" wrote: > > Hi, > > I have some problems with client certificates. By the look of it, it works > wit

JSON Facet API - Range Query - Missing field parameter NPE

2017-02-24 Thread Kevin Risden
omponent.SearchHandler.handleRequestBody( SearchHandler.java:295) at org.apache.solr.handler.RequestHandlerBase.handleRequest( RequestHandlerBase.java:166) at org.apache.solr.core.SolrCore.execute(SolrCore.java:2306) Kevin Risden

Re: Add fieldType from Solr API

2017-02-26 Thread Kevin Risden
As Alex said there is no Admin UI support. The API is called the Schema API: https://cwiki.apache.org/confluence/display/solr/Schema+API That allows you to modify the schema programatically. You will have to reload the collection either way. Kevin Risden On Sun, Feb 26, 2017 at 1:33 PM

Re: Searchable archive of this mailing list

2017-03-31 Thread Kevin Risden
Google usually does a pretty good job of indexing this mailing list. The other place I'll usually go is here: http://search-lucene.com/?project=Solr Kevin Risden On Fri, Mar 31, 2017 at 4:18 PM, OTH wrote: > Hi all, > > Is there a searchable archive of this mailing list? >

  1   2   3   4   >