Re: basic solr cloud questions

2011-09-29 Thread Sami Siren
er of things yourself, > even if they might be done by SolrCloud automatically in the future. There is a patch in Jira: https://issues.apache.org/jira/browse/SOLR-2355 that adds a update processor suitable for doing simple distributed indexing with current version of Solr. -- Sami Siren

Re: Stopword filter - refreshing stop word list periodically

2011-11-03 Thread Sami Siren
llection1". So to reload that you'd call url: http://localhost:8983/solr/admin/cores?action=RELOAD&core=collection1 -- Sami Siren

Re: Difference between #indexed documents and #results in *:* query

2012-01-25 Thread Sami Siren
Does all your 913 documents contain a unique key?  The uniqueKey field is "id" by default. --  Sami Siren On Wed, Jan 25, 2012 at 3:16 PM, m0rt0n wrote: > Thanks a lot for your answer; really appreciated. > > Unfortunately, I am still getting the same number of resu

Re: Commit and sessions

2012-01-27 Thread Sami Siren
ate whether the last minutes of adds > made it. In addition to what Jan said I think you also need to watch out for out of memory exceptions and filled disk space because I think you loose your docs (since last commit) in those cases too. -- Sami Siren

Re: Parallel indexing in Solr

2012-02-06 Thread Sami Siren
ght not be a > Solr-related problem, I am investigating different things, but just wanted > to know a little more about how Jetty/Solr works in order to make a > qualified guess. What kind of/how many discs do you have for your shards? ..also what kind of server are you experimenting with? -- Sami Siren

Re: Parallel indexing in Solr

2012-02-07 Thread Sami Siren
On Mon, Feb 6, 2012 at 5:55 PM, Per Steffensen wrote: > Sami Siren skrev: > >> On Mon, Feb 6, 2012 at 2:53 PM, Per Steffensen >> wrote: >> >> >> >>> >>> Actually right now, I am trying to find our what my bottleneck is. The >>&g

Re: SolrCloud Replication Question

2012-02-13 Thread Sami Siren
Do you have unique dataDir for each instance? 13.2.2012 14.30 "Jamie Johnson" kirjoitti:

Re: distributed deletes working?

2012-02-17 Thread Sami Siren
be changed at some point. -- Sami Siren

Re: distributed deletes working?

2012-02-17 Thread Sami Siren
sue with that setup or not. -- Sami Siren

Re: Unique key constraint and optimistic locking (versioning)

2012-02-24 Thread Sami Siren
but you should be able to get the latest data from Solr by using realtime get http://wiki.apache.org/solr/RealTimeGet -- Sami Siren

Re: Unique key constraint and optimistic locking (versioning)

2012-02-24 Thread Sami Siren
On Fri, Feb 24, 2012 at 12:06 PM, Per Steffensen wrote: > Sami Siren skrev: > >>>> Given that you've set a uniqueKey-field and there already exists a >>>> document with that uniqueKey, it will delete the old one and insert the >>>> new one. Ther

Re: [SolrCloud] Too many open files - internal server error

2012-02-29 Thread Sami Siren
ime. How did you check the number of filedescriptors used? Did you get this number from the system info handler (http://hotname:8983/solr/admin/system?indent=on&wt=json) or somehow differently? -- Sami Siren

Re: [SolrCloud] Too many open files - internal server error

2012-02-29 Thread Sami Siren
is going on, are you sure the open file descriptor (32k) limit is active for the user running solr? -- Sami Siren

Re: Inconsistent Results with ZooKeeper Ensemble and Four SOLR Cloud Nodes

2012-02-29 Thread Sami Siren
oud (1 shard, no replicas) cd solr/cloud-dev sh ./control.sh rebuild sh ./control.sh reinstall 1 sh ./control.sh start 1 #index content java -jar ../example/exampledocs/post.jar ../example/exampledocs/*.xml #after that you can run your queries -- Sami Siren

Re: [SoldCloud] leaking file descriptors

2012-03-01 Thread Sami Siren
around 400-500. -- Sami Siren On Thu, Mar 1, 2012 at 12:36 PM, Markus Jelsma wrote: > Hi, > > Yesterday we had an issue with too many open files, which was solved because > a username was misspelled. But there is still a problem with open files. > > We cannot succesfully in

# open files with SolrCloud

2012-04-19 Thread Sami Siren
e for this? I don't even know where to start looking... -- Sami Siren

Re: # open files with SolrCloud

2012-04-20 Thread Sami Siren
On Thu, Apr 19, 2012 at 3:12 PM, Sami Siren wrote: > I have a simple solrcloud setup from trunk with default configs; 1 > shard with one replica. As few other people have reported there seems > to be some kind of leak somewhere that causes the number of open files > to grow over tim

Re: # open files with SolrCloud

2012-04-22 Thread Sami Siren
it seems to be working now. -- Sami Siren

Re: Dynamic core creation works in 3.5.0 fails in 3.6.0: At least one core definition required at run-time for Solr 3.6.0?

2012-05-03 Thread Sami Siren
ke a reasonable feature so I would classify this as a bug. Not sure what others thing about it. -- Sami Siren

Re: Solr Shards multi core slower then single big core

2012-05-14 Thread Sami Siren
th for example separate hard discs for each shard splitting your index into smaller shards can in some cases make a huge difference in one box too. -- Sami Siren

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-24 Thread Sami Siren
What version of solr (solrj) are you using? -- Sami SIren On Thu, May 24, 2012 at 8:41 AM, in.abdul wrote: > Hi Dmitry , > > There is no out of memory execution in solr .. >            Thanks and Regards, >        S SYED ABDUL KATHER > > > > On Thu, May 24, 2012

Re: solr error when querying.

2012-05-24 Thread Sami Siren
Ron, Did you actually add new xslt file there or did you try to use the example one, if the latter I believe the filename is example.xsl not example.xslt -- Sami Siren On Wed, May 23, 2012 at 5:30 PM, watson wrote: > Here is my query: > http://127.0.0.1:/solr/JOBS/select/??q=Apa

Re: Arabic document analysis fails for HttpServer

2012-05-24 Thread Sami Siren
eventually become solr 3.6.1. For now I recommend you use the Commons version of the solr server (if You need to be on released version) or then just check out the fixed version from the 3.6 branch. -- Sami Siren On Thu, May 24, 2012 at 6:23 PM, Shane Perry wrote: > Hi, > > Upgrading fr

Re: upgrade to 3.6

2012-05-25 Thread Sami Siren
Hi, If you're using non ascii data with solrj you might want to test that it works for you properly. See for example https://issues.apache.org/jira/browse/SOLR-3375 -- Sami Siren On Fri, May 25, 2012 at 10:11 AM, Cam Bazz wrote: > Hello, > > I have upgraded from 1.4 to 3.6 -

Re: Accent Characters

2012-05-30 Thread Sami Siren
Vicente, Are you using CommonsHttpSolrServer or HttpSolrServer? If the latter then you are probably hitting this: https://issues.apache.org/jira/browse/SOLR-3375 The remedy is to use CommonshHttpSolrServer. -- Sami Siren On Thu, May 31, 2012 at 7:52 AM, Vicente Couto wrote: > Hello, J

Re: SolrJ dependencies

2012-06-12 Thread Sami Siren
x27;t those go into lucene/solr/dist/solrj-lib as wel? Yes they should. > Do I need to create a ticket for this? Please do so. -- Sami Siren

Re: solrj library requirements: slf4j-jdk14-1.5.5.jar

2012-06-14 Thread Sami Siren
What is the version of solrj you are trying to get working? If you download version 3.6 of solr there's a directory dist/solrj-lib in the binary release artifact that includes the required dependencies. I would start with those. -- Sami Siren On Wed, Jun 6, 2012 at 5:34 PM, Welty, Ri

Re: StreamingUpdateSolrServer Connection Timeout Setting

2012-06-15 Thread Sami Siren
The api doc for version 3.6.0 is available here: http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.html I think the default is coming from your OS if you are not setting it explicitly. -- Sami Siren On Fri, Jun 15, 2012 at 8:22 PM, Kissue Kissue

Re: SolrJ indexing pdf documents

2012-06-16 Thread Sami Siren
equest req = new ContentStreamUpdateRequest( "/update/extract"); req.setParam("literal.id", "doc"); req.addFile(new File( "solr/contrib/dataimporthandler-extras/src/test-files/dihextras/solr-word.pdf")); server.request(req); server.commit(); -- Sami Siren

Re: SolrCloud and split-brain

2012-06-18 Thread Sami Siren
t accept updates (even if that side has a working zk setup). > Now imagine if the client sending documents for indexing happened to be > sending documents to 2 nodes, say in round-robin fashion. In my understanding all updates are routed through a shard leader. -- Sami Siren

Re: How to update one field without losing the others?

2012-06-18 Thread Sami Siren
=true -H 'Content-type:application/json' -d '{ "add": { "doc": { "id": "id", "title": "test", "price_f": 10 }}}' curl $URL?commit=true -H 'Content-type:application/json' -d '{ "add": { "doc": { "id": "id", "price_f": {"set": 5' If you are using solrj then there's a junit test method, testUpdateField(), that does something similar: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java?view=markup -- Sami Siren

Re: LeaderElection bugfix

2012-06-27 Thread Sami Siren
the test method to LeaderElectionIntegrationTest and ran it few times but I can't get it to fail. -- Sami Siren

Re: LeaderElection bugfix

2012-06-27 Thread Sami Siren
ok, I see what you mean. Looks to me that you're right. I am not too familiar with the LeaderElector so I'll let Mark take a second look. -- Sami Siren On Wed, Jun 27, 2012 at 11:32 AM, "Trym R. Møller" wrote: > Hi Sami > > Regarding 2) A "simple" way t

Re: Problem with Solr 4.0-ALPHA and JSON response

2012-08-06 Thread Sami Siren
amters, is this normal? yes, to control the format used by the client there's a method HttpSolrServer#setParser that set's the client parser (that also overrides the wt param when the request is made) -- Sami Siren

Re: Updating document with the Solr Java API

2012-08-07 Thread Sami Siren
ique"); doc.addField("_version_", version); // this is needed only if optimistic locking is to be used HashMap value = new HashMap(); value.put("set",100); doc.addField("price_f", value); -- Sami Siren

Re: JIRA Issue : SOLR-3771

2012-08-31 Thread Sami Siren
Based on the stack trace it seems that DIH uses URLConnection. You might want to try setting the proxy related system properties for the jvm that runs Solr: http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html -- Sami Siren On Fri, Aug 31, 2012 at 9:58 AM, Molala, Nagaraj

Re: Solr 4.0 BETA Replication problems on Tomcat

2012-09-04 Thread Sami Siren
I opened SOLR-3789. As a workaround you can remove internal from the config and it should work. -- Sami Siren On Wed, Sep 5, 2012 at 5:58 AM, Ravi Solr wrote: > Hello, > I have a very simple setup one master and one slave configured > as below, but replication keeps fai

Re: Nodes cannot recover and become unavailable

2012-09-19 Thread Sami Siren
Hi, I am having troubles understanding the reason for that NPE. First you could try removing the line #102 in HttpClientUtility so that logging does not prevent creation of the http client in SyncStrategy. -- Sami Siren On Wed, Sep 19, 2012 at 5:29 PM, Markus Jelsma wrote: > Hi, > &

Re: Nodes cannot recover and become unavailable

2012-09-19 Thread Sami Siren
also, did you re create the cluster after upgrading to a newer version? I believe there were some changes made to the clusterstate.json recently that are not backwards compatible. -- Sami Siren On Wed, Sep 19, 2012 at 6:21 PM, Sami Siren wrote: > Hi, > > I am having troubles unde

Re: Solrcloud not reachable and after restart just a "no servers hosting shard"

2012-09-24 Thread Sami Siren
hi, Can you share a little bit more about your configuration: how many shards, # of replicas, how does your clusterstate.json look like, anything suspicious in the logs? -- Sami Siren On Mon, Sep 24, 2012 at 11:13 AM, Daniel Brügge wrote: > Hi, > > I am running Solrcloud 4.0-BETA a

Re: Change config to use port 8080 instead of port 8983

2012-09-26 Thread Sami Siren
are using a name "dm-search-sr-01" > instead of the ip address associated to the server. Is there a way to set > this to the ipaddress instead? If you use the example configuration then take a look at solr.xml. In it's current state it accepts port in system property called "jetty.port" and the hostname or in your case the ip in "host". So adding -Djetty.port=xxx -Dhost=yyy to you JAVA_OPTS allow you to set them when using the default solr.xml. -- Sami Siren

Re: Change config to use port 8080 instead of port 8983

2012-09-27 Thread Sami Siren
i just tried this with tomcat and the props work for me. Did you wipe out your zoo_data before starting with the additional system properties? here's how i ran it: JAVA_OPTS="-DzkRun -DnumShards=1 -Djetty.port=8080 -Dbootstrap_conf=true -Dhost=127.0.0.1" bin/catalina.sh run -- S

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-08 Thread Sami Siren
re not > actually getting set. Anyone seen this problem or have an idea how to > resolve? I did some experiments with the solrj and from what it looked like it seems to respect the values that you set. -- Sami Siren

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-10 Thread Sami Siren
iate the client every time. When the client seems to be hanging, can you still access the Solr instance normally and execute updates/searches from other clients? -- Sami Siren

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-10 Thread Sami Siren
t uses solrj to demonstrate the problem. Based on the available information it is really difficult try to guess what's happening. -- Sami Siren

Re: SolrJ: atomic updates.

2012-11-15 Thread Sami Siren
t;)); prints "tag1" ArrayList as a value works the same way as String[]. When using xml (RequestWriter) I can see the problem that you are describing, can you add a jira for that? -- Sami SIren > > Regards, > > > - Luis Cappa. > > 2012/11/15 Luis Cappa Banda

Re: SolrJ: atomic updates.

2012-11-15 Thread Sami Siren
yway. The Affects version should be 4.0. On Thu, Nov 15, 2012 at 1:42 PM, Luis Cappa Banda wrote: > Hello, Sami. > > It will be the first issue that I open so, should I create it under Solr > 4.0 version or in Solr 4.1.0 one? > > Thanks, > > - Luis Cappa. > > 2012/11/15 S

Re: SolrJ: atomic updates.

2012-11-15 Thread Sami Siren
omething wrong and I´m so stupid that I can´t see it, :-( >- The way I update fields is not the correct one. >- There is a general bug with atomic updates via SolrJ. > > > Regards, > > > - Luis Cappa. > > > 2012/11/15 Luis Cappa Banda > > > I´ll

Re: CloudSolrServer and LBHttpSolrServer: setting BinaryResponseParser and BinaryRequestWriter.

2012-11-15 Thread Sami Siren
hi, did you try setting your values in a List, for example ArrayList it should work when you use that even without specifying reguest-/response writer. -- Sami Siren On Thu, Nov 15, 2012 at 4:56 PM, Luis Cappa Banda wrote: > Hello, > > I´ve found what It seems to be a bug > J

Re: How to get a list of servers per collection in sorlcloud using java api?

2012-11-22 Thread Sami Siren
g like: > > // returns a list of solr servers in the zookeeper ensemble that store the > given collection > List getServers(String zkhost, String collectionName) > You can use ZKStateReader (#getClusterState) to get this info. -- Sami Siren

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Sami Siren
I think the problem is that even though you were able to work around the bug in the client solr still uses the xml format internally so the atomic update (with multivalued field) fails later down the stack. The bug you filed needs to be fixed to get the problem solved. On Thu, Nov 22, 2012 at 8:1

Re: SolrCloud: Very strange behavior when doing atomic updates or documents reindexation.

2012-11-22 Thread Sami Siren
t strange that some documents were updated (atomic updates) > correctly and other ones not? Can´t it be a more serious problem like some > kind of index writer lock, or whatever? > > Regards, > > - Luis Cappa. > > 2012/11/22 Sami Siren > > > I think the problem

Re: [VOTE] Community Logo Preferences

2008-11-24 Thread Sami Siren
://issues.apache.org/jira/secure/attachment/12394266/apache_solr_b_red.jpg -- Sami Siren Ryan McKinley wrote: Please submit your preferences for the solr logo. For full voting details, see: http://wiki.apache.org/solr/LogoContest#Voting The eligible logos are: http://people.apache.org

Re: unable to run the solr in tomcat 5.0

2009-05-06 Thread Sami Siren
post.jar also supports specifying alternative url, see output from java -jar post.jar -help for more info. -- Sami Siren uday kumar maddigatla wrote: hi you mis understood my question. When i try to use the command java -post.jar *.*. It is trying to Post files in Solr which is there in

Re: [POLL] Where do you get Lucene/Solr from? Maven? ASF Mirrors?

2011-01-22 Thread Sami Siren
; [] Other (someone in your company mirrors them internally or via a downstream > project) -- Sami Siren

Re: crawler feed?

2007-02-07 Thread Sami Siren
i plan to integrate after 0.9.0 is out. -- Sami Siren [1]http://blog.foofactory.fi/2007/02/online-indexing-integrating-nutch-with.html

Re: Solr 1.2 HTTP Client for Java

2007-06-14 Thread Sami Siren
; repo. If they do nightly snapshots, it will be there Each project must actively push [1] released artifacts to maven repository, there is no other way of getting them there. [1] http://www.apache.org/dev/release-publishing.html#maven-repo -- Sami Siren

Re: solr + maven?

2007-12-05 Thread Sami Siren
what Lucene has recently experienced (fully usable maven artifacts for releases and nightly builds). If it has any value I could at least put some poms together. -- Sami Siren

Re: Tomcat6 env-entry

2007-12-05 Thread Sami Siren
I don't recall any differences in tomcat 6 configuration compared to tomcat 5, did you try to follow the information on wiki for tomcat 5 on your installation? -- Sami Siren Matthew Runo wrote: > Ok, I updated it. I hope it makes sense =\ > > I'm not really familiar enou

Re: Index & search questions; special cases

2006-11-15 Thread Sami Siren
build these nice utilities to be usable between projects. Not exactly sure how this could be accomplished but anyway something to consider. -- Sami Siren