Re: commit in solr4 takes a longer time

2013-05-02 Thread Furkan KAMACI
What happens exactly when you don't open searcher at commit? 2013/5/2 Gopal Patwa gopalpa...@gmail.com you might want to added openSearcher=false for hard commit, so hard commit also act like soft commit autoCommit maxDocs5/maxDocs

Re: What Happens to Consistency if I kill a Leader and Startup it again?

2013-05-02 Thread Furkan KAMACI
Gospodnetic otis.gospodne...@gmail.com Hi, Can you actually make this happen? Otis Solr ElasticSearch Support http://sematext.com/ On May 2, 2013 8:12 AM, Furkan KAMACI furkankam...@gmail.com wrote: Thanks for the answer. This is what I try to say: time = t Node A (Leader

Pros and Cons of Using Deduplication of Solr at Huge Data Indexing

2013-05-02 Thread Furkan KAMACI
I use Solr 4.2.1 as SolrCloud. I crawl huge data with Nutch and index them with SolrCloud. I wonder about Solr's deduplication mechanism. What exactly it does and does it results with a slow indexing or is it beneficial for my situation?

Rearranging Search Results of a Search?

2013-05-02 Thread Furkan KAMACI
I know that I can use boosting at query for a field, for a searching term, at solrconfig.xml and query elevator so I can arrange the results of a search. However after I get top documents how can I change the order of a results? Does Lucene's postfilter stands for that?

Customizing Solr For a Certain Language

2013-05-02 Thread Furkan KAMACI
Hi folks; I want to use Solr to index any other language except for English. I will use Turkish documents to index with Solr. I will implement some algorithms that is more suitable to Turkish rather than English. Is there any wiki page that explains to steps for it? I mean what are the main parts

How to decide proper cache size at load testing?

2013-05-02 Thread Furkan KAMACI
I read that at wiki: Sometimes a smaller cache size will help avoid full garbage collections at the cost of more evictions. Load testing should be used to help determine proper cache sizes throughout the searching/indexing lifecycle. Could anybody give me an example scenario of how can I make a

Re: What Happens to Consistency if I kill a Leader and Startup it again?

2013-05-03 Thread Furkan KAMACI
Shawn thanks for detailed answer, it explains everything. I think that there is no problem. I will use 4.3. when it is available and if I see a situation something like that I will report. 2013/5/3 Shawn Heisey s...@elyograg.org On 5/2/2013 2:19 PM, Furkan KAMACI wrote: I see that at my admin

Re: Does Near Real Time get not supported at SolrCloud?

2013-05-03 Thread Furkan KAMACI
Does soft commits distributes into nodes of SolrCloud? 2013/5/3 Otis Gospodnetic otis.gospodne...@gmail.com NRT works with SolrCloud. Otis Solr ElasticSearch Support http://sematext.com/ On May 2, 2013 5:34 AM, Furkan KAMACI furkankam...@gmail.com wrote: Does Near Real Time get

Re: Rearranging Search Results of a Search?

2013-05-03 Thread Furkan KAMACI
-- Solr ElasticSearch Support http://sematext.com/ On Thu, May 2, 2013 at 4:47 PM, Furkan KAMACI furkankam...@gmail.com wrote: I know that I can use boosting at query for a field, for a searching term, at solrconfig.xml and query elevator so I can arrange the results of a search

Re: Performance considerations when using distributed indexing + loadbalancing with Solr cloud

2013-05-03 Thread Furkan KAMACI
Do you use CloudSolrServer when you push documnts into SolrCloud to be indexed? 2013/5/3 Edd Grant e...@eddgrant.com Hi all, I have been playing with Solr Cloud recently and am enjoying the distributed indexing capability. At the moment my SolrCloud consists of 2 leaders and 2 replicas

Re: Performance considerations when using distributed indexing + loadbalancing with Solr cloud

2013-05-03 Thread Furkan KAMACI
On 3 May 2013 13:17, Furkan KAMACI furkankam...@gmail.com wrote: Do you use CloudSolrServer when you push documnts into SolrCloud to be indexed? 2013/5/3 Edd Grant e...@eddgrant.com Hi all, I have been playing with Solr Cloud recently and am enjoying the distributed

Re: Solr metrics in Codahale metrics and Graphite?

2013-05-03 Thread Furkan KAMACI
Does anybody tested Ganglia with JMXTrans at production environment for SolrCloud? 2013/4/26 Dmitry Kan solrexp...@gmail.com Alan, Shawn, If backporting to 3.x is hard, no worries, we don't necessarily require the patch as we are heading to 4.x eventually. It is just much easier within our

Re: disaster recovery scenarios for solr cloud and zookeeper

2013-05-06 Thread Furkan KAMACI
Hi Mark; You said: So it's pretty simple - when you lost the ability to talk to ZK, everything keeps working based on the most recent clusterstate - except that updates are blocked and you cannot add new nodes to the cluster. Where nodes keeps cluster stat? When a query comes to a node that is at

Re: Indexing off of the production servers

2013-05-06 Thread Furkan KAMACI
1-2) Your aim for using Hadoop is probably Map/Reduce jobs. When you use Map/Reduce jobs you split your workload, process it, and then reduce step takes into account. Let me explain you new SolrCloud architecture. You start your SolrCluoud with a numShards parameter. Let's assume that you have 5

Re: Indexing off of the production servers

2013-05-06 Thread Furkan KAMACI
AM, Furkan KAMACI furkankam...@gmail.com wrote: 1-2) Your aim for using Hadoop is probably Map/Reduce jobs. When you use Map/Reduce jobs you split your workload, process it, and then reduce step takes into account. Let me explain you new SolrCloud architecture. You start your SolrCluoud

Re: Log Monitor System for SolrCloud and Logging to log4j at SolrCloud?

2013-05-06 Thread Furkan KAMACI
/solr/SolrLogging - Mark On Apr 26, 2013, at 7:19 AM, Furkan KAMACI furkankam...@gmail.com wrote: I want to use GrayLog2 to monitor my logging files for SolrCloud. However I think that GrayLog2 works with log4j and logback. Solr uses slf4j. How can I solve this problem and what logging

Re: Indexing off of the production servers

2013-05-06 Thread Furkan KAMACI
the effort if there isn't some existing strategy. Dave -Original Message- From: Furkan KAMACI [mailto:furkankam...@gmail.com] Sent: Monday, May 06, 2013 7:06 PM To: solr-user@lucene.apache.org Subject: Re: Indexing off of the production servers Hi Erick; I think that even if you

Re: Indexing off of the production servers

2013-05-06 Thread Furkan KAMACI
Hi Erick; Thanks for your answer. I have read that at somewhere: I believe redirect from replica to leader would happen only at index time, so a doc first gets indexed to leader and from there it's replicated to non-leader shards. Is that true? I want to make clear the things in my mind

Re: When a search query comes to a replica what happens?

2013-05-07 Thread Furkan KAMACI
replica and leader (because of leader is a replica too) or nodes of shard except for leader? 2013/4/17 Otis Gospodnetic otis.gospodne...@gmail.com No. Otis -- Solr ElasticSearch Support http://sematext.com/ On Tue, Apr 16, 2013 at 6:23 PM, Furkan KAMACI furkankam...@gmail.com wrote

Re: Rearranging Search Results of a Search?

2013-05-07 Thread Furkan KAMACI
Can I use Transformers for my purpose? 2013/5/3 Furkan KAMACI furkankam...@gmail.com I think this looks like what I search for: https://issues.apache.org/jira/browse/SOLR-4465 How about post filter for Lucene, can it help me for my purpose? 2013/5/3 Otis Gospodnetic otis.gospodne

Does Distributed Search are Cached Only the By Node That Runs Query?

2013-05-09 Thread Furkan KAMACI
I have Solr 4.2.1 and run them as SolrCloud. When I do a search on SolrCloud as like that: ip_of_node_1:8983solr/select?q=*:*rows=1 and when I check admin page I see that: I have 5 GB Java Heap. 616.32 MB is dark gray, 3.13 GB is gray. Before my search it was something like: 150 MB dark

SolrCloud Sorting Results By Relevance

2013-05-09 Thread Furkan KAMACI
When I make a search at Solr 4.2.1 that runs as SolrCloud I get: result name=response numFound=18720 start=0 maxScore=1.2672108 First one has that boost: float name=boost 1.3693064 /float Second one has that: float name=boost 1.7501166 /float and third one: float name=boost 1.0387472 /float

Apache Whirr for SolrCloud with external Zookeeper

2013-05-09 Thread Furkan KAMACI
Hi Folks; I have tested Solr 4.2.1 as SolrCloud and I think to use 4.3.1 when it is ready at my pre-production environment. I want to learn that does anybody uses Apache Whirr for SolrCloud with external Zookeeper ensemble? What folks are using for such kind of purposes?

Negative Boosting at Recent Versions of Solr?

2013-05-09 Thread Furkan KAMACI
I know that whilst Lucene allows negative boosts, Solr does not. However did it change with newer versions of Solr (I use Solr 4.2.1) or still same?

Re: Apache Whirr for SolrCloud with external Zookeeper

2013-05-09 Thread Furkan KAMACI
://issues.apache.org/jira/browse/WHIRR-465 Otis -- Solr ElasticSearch Support http://sematext.com/ On Thu, May 9, 2013 at 5:28 PM, Furkan KAMACI furkankam...@gmail.com wrote: Hi Folks; I have tested Solr 4.2.1 as SolrCloud and I think to use 4.3.1 when it is ready at my pre

Unable to load environment info from /solr/collection1/admin/system?wt=json

2013-05-10 Thread Furkan KAMACI
I was making some query tests at one of my nodes at SolrCloud (Solr 4.2.1) When I look at admin page of my node I start to see that: Unable to load environment info from /solr/collection1/admin/system?wt=json. This interface requires that you activate the admin request handlers in all SolrCores

Re: Does Distributed Search are Cached Only the By Node That Runs Query?

2013-05-10 Thread Furkan KAMACI
are looking at jvm heap but attributing it to caching only. Not quite right...there are other things in that jvm heap. Otis Solr ElasticSearch Support http://sematext.com/ On May 9, 2013 3:55 PM, Furkan KAMACI furkankam...@gmail.com wrote: I have Solr 4.2.1 and run them as SolrCloud. When

Re: Solr - Best Java Combination for performance?

2013-05-11 Thread Furkan KAMACI
Of course you may have some reasons to use Tomcat or anything else (i.e. your stuff may have more experience at Tomcat etc.) However developers generally runs Jetty because it is default for Solr and I should point that Solr unit tests run against jetty (in fact, a specific version of Jetty) and

Test Scenarios For Solr/SolrCloud?

2013-05-12 Thread Furkan KAMACI
I am writing test scenarios for Solr and SolrCloud. I know Solr has built-in test but I want to document it and give scenarios to test team. Here is what I think: * Response time test with SolrMeter * When a query occurs does it occurs at log (this maybe extended what happens at log when what

Re: Unable to load environment info from /solr/collection1/admin/system?wt=json

2013-05-13 Thread Furkan KAMACI
,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0} May 13, 2013 10:38:40 AM org.apache.solr.core.SolrCore closeSearcher Anybody else has any idea about it? 2013/5/10 Furkan KAMACI furkankam...@gmail.com I was making some query tests at one

Re: Log Monitor System for SolrCloud and Logging to log4j at SolrCloud?

2013-05-13 Thread Furkan KAMACI
Sorry but do you mean that I can use log4j with Solr 4.2.1? 2013/5/6 Steve Rowe sar...@gmail.com Done - see http://markmail.org/message/66vpwk42ih6uxps7 On May 6, 2013, at 5:29 AM, Furkan KAMACI furkankam...@gmail.com wrote: Is there any road map for Solr when will Solr 4.3 be tagged

Re: SOLR guidance required

2013-05-13 Thread Furkan KAMACI
Jason can you explain what you mean at here: Where OR operators apply, this does not matter. But your Solr cache will be much more savvy with the first construct. 2013/5/13 Lance Norskog goks...@gmail.com If this is for the US, remove the age range feature before you get sued. On 05/09/2013

How to force a document to be indexed in a given shard at SolrCloud?

2013-05-13 Thread Furkan KAMACI
I want to run some test cases on SolrCloud at my pre-prototype system. How can I force a document to be indexed in a given shard at SolrCloud (I use Solr 4.2.1) ? Does something like shard.keys works for me?

Solr Admin Page Says Leader is Down, Replica is Up, Zookeeper Says Thar They are Both Active

2013-05-14 Thread Furkan KAMACI
Node is shown as down at admin page. It says there is one replica for that shard but leader is dead (no new leader is selected!) however when I check zookeeper information from /clusterstate.json at admin page I see that: shard2:{ range:b333-e665, state:active, replicas:{

SolrCloud Ping Status is 503

2013-05-14 Thread Furkan KAMACI
When I check my SolrCloud nodes' log files (Solr 4.2.1) I get see that line at all of them: INFO: [collection1] webapp=/solr path=/admin/file/ params={file=admin-extra.html_=1368535805558} status=0 QTime=5 May 14, 2013 3:50:27 PM org.apache.solr.core.SolrCore execute INFO: [collection1]

How Can Leader Listed As Replication (Slave) instead of Master

2013-05-14 Thread Furkan KAMACI
I use Solr 4.2.1 at SolrCloud. When I look at graph at cloud link of admin page, I see that one of my node is listed as Leader. However when I click core selector and clik my core there writes: Replication (Slave). It is leader but a slave instead of being master. Do I miss anything? Can we use

Why Solr Returns Error for a Search that has rows parameter smaller than numFound?

2013-05-14 Thread Furkan KAMACI
When I make a query: :8983/solr/select?q=*:* I have numFound: 4264579 and then when I make that query: :8983/solr/select?q=*:*rows=4264579 or even that: :8983/solr/select?q=*:*rows=4264578 lst name=error str name=msg org.apache.solr.client.solrj.SolrServerException:

Re: Why Solr Returns Error for a Search that has rows parameter smaller than numFound?

2013-05-14 Thread Furkan KAMACI
to return all documents like that, only the n best matches, where n is a low number. If you need to retrieve all docs, you should sort by some static ID, and grab them in batches, using range queries on that ID. Upayavira On Tue, May 14, 2013, at 04:34 PM, Furkan KAMACI wrote: When I make

Re: zkState changes too often

2013-05-14 Thread Furkan KAMACI
Hi Mark; I have same situation with my Solr 4.2.1 nodes. These are from my startup parameters: -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:NewRatio=3 -XX:MaxTenuringThreshold=8 -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:+UseLargePages -XX:+AggressiveOpts

Re: Query mulitiple cores using intermediate core

2013-05-14 Thread Furkan KAMACI
Which version of Solr do you use? 2013/5/14 Benjamin Ryan benjamin.r...@manchester.ac.uk Hi, I have seen posts etc on how to setup a core that has a merged schema and request handlers to enable search across two other cores. Can anybody give an example of how

Re: how to increase upload into Solr 4.x ???

2013-05-15 Thread Furkan KAMACI
Hi Shawn; You said If I were doing this with the dataimport handler, I would define more than one handler in solrconfig.xml, each with its own config file. What is the benefit of using more than one handler? 2013/5/15 Shawn Heisey s...@elyograg.org The data is pulled from the MSSQL database.

Re: How to find the routing algorithm used?

2013-05-16 Thread Furkan KAMACI
At admin gui click on the Cloud link then Tree link. A page will open and choose clusterstate.json from list. Scroll down to end and you will see something like: router:compositeId 2013/5/16 santoash santo...@me.com Im trying to find out which routing algorithm (implicit/composite id) is

What is 503 Status For Admin Ping

2013-05-16 Thread Furkan KAMACI
I have made some little changes at example folder of Solr 4.2.1 When I start up it just with: java -jar start.jar I get that status: INFO: [collection1] webapp=/solr path=/admin/ping params={action=status_=1368715926563wt=json} status=503 QTime=0 When I click ping at (just once time )admin

Re: What is 503 Status For Admin Ping

2013-05-16 Thread Furkan KAMACI
with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, May 16, 2013 at 3:58 PM, Furkan KAMACI wrote: I have made some little changes at example folder of Solr 4.2.1 When I start up it just with: java -jar start.jar I get that status: INFO: [collection1] webapp=/solr path

Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
I know that there have been many conversations about SolrCloud startup tips i.e. which type of garbage collector to use etc. Also I know that there is no an exact answer for this question. However I think that folks have some tips about this question. How do you start up your external Zookeeper,

Ho to adjust maxDocs and maxTime for autoCommit?

2013-05-16 Thread Furkan KAMACI
I will start my pre-production step soon. How can I adjust maxDocs and maxTime for autoCommit? What do you suggest for me to adjust that parameters?

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
Hi Shawn; You have some tips about JVM parameters starting a Solr node. What do you have special for Solr when you start a Zookeeper ensemble. i.e. heap size? 2013/5/16 Shawn Heisey s...@elyograg.org On 5/16/2013 9:25 AM, Furkan KAMACI wrote: I know that there have been many conversations

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
memory. This may be a more Zookeeper related question but one more question too. Is there anything something like not to use Zookeeper on a virtual machine because of performance issues or not? 2013/5/16 Shawn Heisey s...@elyograg.org On 5/16/2013 2:34 PM, Furkan KAMACI wrote: You have some

Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
I have Solr 4.2.1 and want to use log4j. I have followed wiki. Here are my jar versions: java -jar start.jar --version Active Options: [default, *] Version Information on 15 entries in the classpath. Note: order presented here is how they would appear on the classpath. changes to the

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
When I check under logs folder I see that there is a file called solr.log and has that line: WARN - 2013-05-17 02:16:47.688; org.apache.solr.core.CoreContainer; Log watching is not yet implemented for log4j 2013/5/17 Furkan KAMACI furkankam...@gmail.com I have Solr 4.2.1 and want to use log4j

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
Thanks Shawn. I have just wondered that how other people could used log4j with 4.2.1 because of there is a paragraph for Using log4j with Solr from source, 4.2.1 or earlier at wiki. 2013/5/17 Shawn Heisey s...@elyograg.org On 5/16/2013 5:22 PM, Furkan KAMACI wrote: *Null identity service

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
Ok, I have used 4.3.0's jetty and lib folder (of course plus log4j.properties) and it works with 4.2.1 now. 2013/5/17 Furkan KAMACI furkankam...@gmail.com Thanks Shawn. I have just wondered that how other people could used log4j with 4.2.1 because of there is a paragraph for Using log4j

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-17 Thread Furkan KAMACI
. In a steady state, the cluster won't even really talk to ZK in any intensive manner at all. - Mark On May 16, 2013, at 5:07 PM, Furkan KAMACI furkankam...@gmail.com wrote: Hi Shawn; I will have totally 18 Solr nodes at my current pre-prototype environment over one collection and I don't

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-18 Thread Furkan KAMACI
I have read that about zookeeper: Zookeeper servers have an active connections limit, which by default is 30. Do you define it higher than 30 for Solr? 2013/5/17 vsilgalis vsilga...@gmail.com As an example, I have 9 SOLR nodes (3 clusters of 3) using different versions of SOLR (4.1, 4.1, and

Re: Solr Admin Page Says Leader is Down, Replica is Up, Zookeeper Says Thar They are Both Active

2013-05-19 Thread Furkan KAMACI
nodes - a node may be listed as active or whatever, and if it's live node is not up, it doesn't matter - it's considered down. - Mark On May 14, 2013, at 8:08 AM, Furkan KAMACI furkankam...@gmail.com wrote: Node is shown as down at admin page. It says there is one replica for that shard

Re: Solr Admin Page Says Leader is Down, Replica is Up, Zookeeper Says Thar They are Both Active

2013-05-19 Thread Furkan KAMACI
) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722) 2013/5/19 Furkan KAMACI furkankam...@gmail.com Hi Mark; I continue my tests and realized that issue. I have 1 leader and 1 replica at each

Re: How To Make Index Backup at SolrCloud?

2013-05-19 Thread Furkan KAMACI
://sematext.com/ On Apr 25, 2013 5:23 PM, Furkan KAMACI furkankam...@gmail.com wrote: I use SolrCloud. Let's assume that I want to move all indexes from one place to another. There maybe two reasons for that: First one is that: I will close all my system and I will use new machines

Leader and Replica are Listed Both Replication (Master), There is no Replication (Slave)?

2013-05-19 Thread Furkan KAMACI
There is a shard at my Solr 4.2.1 SolrCloud and it consist of two nodes. One of them is listed as leader at graph. When I look at the cores at admin page both of them are listed as: Replication (Master) Why none of them is listed as: Replication (Slave) ?

Re: How To Make Index Backup at SolrCloud?

2013-05-20 Thread Furkan KAMACI
SOLR Performance Monitoring - http://sematext.com/spm/index.html On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI furkankam...@gmail.com wrote: Hi Otis; You said: which will return a completed on date when your backup is done which field is that? 2013/4/26 Otis Gospodnetic

Re: How To Make Index Backup at SolrCloud?

2013-05-20 Thread Furkan KAMACI
OK, I found it, no problem. 2013/5/20 Furkan KAMACI furkankam...@gmail.com Ooops, you didn't say it OK. It is at Timothy's answer. 2013/5/20 Otis Gospodnetic otis.gospodne...@gmail.com Hm, did I really say that? What was the context? Because I don't see that in my response below

Re: Solr cloud setup

2013-05-20 Thread Furkan KAMACI
You can start reading from here: http://wiki.apache.org/solr/SolrCloud and here: http://docs.lucidworks.com/display/solr/SolrCloud Furkan KAMACI -- 2013/5/20 Sagar Chaturvedi sagar.chaturv...@nectechnologies.in Hi, I am new to Solr. I have a question regarding solrCloud - What

Re: Date Field

2013-05-21 Thread Furkan KAMACI
Did you check here: http://lucene.apache.org/solr/4_3_0/solr-core/org/apache/solr/schema/DateField.html 2013/5/21 Benjamin Kern be...@bkern.de Hi all, how can I set the time zone for a date field? field name=field type=date indexed=true stored=true Thanks

Re: Date Field

2013-05-21 Thread Furkan KAMACI
This may help you: http://stackoverflow.com/questions/2370171/another-datetime-question 2013/5/21 Benjamin Kern be...@bkern.de How can I convert the UTC Time? -Ursprüngliche Nachricht- Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Gesendet: Dienstag, 21. Mai 2013 22:37 An:

Re: Regular expression in solr

2013-05-22 Thread Furkan KAMACI
API doc says that: Lucene supports regular expression searches matching a pattern between forward slashes /. The syntax may change across releases, but the current supported syntax is documented in the RegExp class. For example to find documents containing moat or boat: /[mb]oat/ I think that

Solr/Lucene Analayzer That Writes To File

2013-05-27 Thread Furkan KAMACI
Hi; I want to use Solr for an academical research. One step of my purpose is I want to store tokens in a file (I will store it at a database later) and I don't want to index them. For such kind of purposes should I use core Lucene or Solr? Is there an example for writing a custom analyzer and

Escaping character at Query

2013-05-29 Thread Furkan KAMACI
I use Solr 4.2.1 and I analyze that keyword: keliledimle at admin page: WT keliledimle SF keliledimle TLCF keliledimle However when I escape that charter and search it: solr/select?q=kelile\dimle here is what I see: response lst name=responseHeader int name=status0/int int

Re: Escaping character at Query

2013-05-29 Thread Furkan KAMACI
When I write: solr/select?q=kelile\dimle it still says: lst name=params str name=dimle/ *str name=qkelile\/str* /lst 2013/5/29 Carlos Bonilla carlosbonill...@gmail.com Hi, try with double quotation marks ( ). Carlos. 2013/5/29 Furkan KAMACI furkankam...@gmail.com I use Solr 4.2.1

How to Get Cluster State By Solrj?

2013-06-03 Thread Furkan KAMACI
I want to get cluster state of my SolrCloud by Solrj (I know that admin page shows it but I want to customize it at my application). Firstly wiki says that: CloudSolrServer server = new CloudSolrServer(localhost:9983); why CloudSolrServer takes only one Zookeeper host:port as an argument? I

Solr/Lucene Champion List Support?

2013-06-04 Thread Furkan KAMACI
There is a term called champion list at information retrieval theory. Does solr/lucene has an implementation of it? Here is some information: http://en.wikipedia.org/wiki/Champion_list

Lucene Filter That Will Remove Some Tokens By Regex Pattern?

2013-06-06 Thread Furkan KAMACI
I want to use a core Lucene filter that will remove some tokens defined by a regex pattern. What is the appropriate class for it?

Using Solr Scripts

2013-06-07 Thread Furkan KAMACI
I have a SolrCloud and I want to maintain some important things on it. i.e. I will backup indexes, start - stop Solr nodes individually, send an optimize request to the cloud etc. However I see that there is a scripts folder comes with Solr. Can I use some of them for my purposes or should I

Why clusterstate.json says active for a killed Solr Node?

2013-06-09 Thread Furkan KAMACI
I want to get cluster state of my SolrCloud and this is my method: private final CloudSolrServer solrServer; public SolrCloudServerFactory(String zkHost) throws MalformedURLException { this.solrServer = new CloudSolrServer(zkHost); solrServer.connect(); } and I get what I want from

Re: Why clusterstate.json says active for a killed Solr Node?

2013-06-09 Thread Furkan KAMACI
with the clusterstate.json. If a node is not live, whatever is in clusterstate.json is simply it's last state, not the current one. - Mark On Sun, Jun 9, 2013 at 4:40 PM, Furkan KAMACI furkankam...@gmail.com wrote: I want to get cluster state of my SolrCloud and this is my method: private final

Re: Why clusterstate.json says active for a killed Solr Node?

2013-06-09 Thread Furkan KAMACI
state means that shard is up to date and online serving - as long as it's live node is also up. - Mark On Jun 9, 2013, at 6:18 PM, Furkan KAMACI furkankam...@gmail.com wrote: Is it enough just look at only live nodes(if not: could you tell me is there any example code part at Solr source code

Get Statistics With CloudSolrServer?

2013-06-09 Thread Furkan KAMACI
There is a stat,st,cs section at admin page and gives information as like: Last Modified, Num Docs, Max Doc and etc. How can I get such kind of information using CloudSolrServer with Solrj?

Re: Get Statistics With CloudSolrServer?

2013-06-10 Thread Furkan KAMACI
I think that it is related to LukeRequest 2013/6/10 Mark Miller markrmil...@gmail.com On Jun 9, 2013, at 7:52 PM, Furkan KAMACI furkankam...@gmail.com wrote: There is a stat,st,cs section at admin page and gives information as like: Last Modified, Num Docs, Max Doc and etc. How can I

How to Reach LukeRequestHandler From Solrj?

2013-06-10 Thread Furkan KAMACI
I want to get statistics from Solr via Solrj. I think that I should reach LukeRequestHandler (*if it is not, you can explain th proper way*.) I use Solr 4.2.1 and CloudSolrServer to reach Solr via Solrj. How can I do that? This URL's response has exactly what I want:

What to do with CloudSolrServer if Internal Ips are different at my SolrCloud?

2013-06-10 Thread Furkan KAMACI
I want to use CloudSolrServer via Solrj at my application. However I get that error: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://10.236.**.***:8983/solr/collection1, http://10.240.**.**:8983/solr/collection1 ... I think that

Admin Page Segment Count is Different than LukeRequest's Segment Count?

2013-06-10 Thread Furkan KAMACI
I have that lines of code: CloudSolrServer solrServer = SolrCloudServerFactory.getCloudSolrServer(); NamedListObject namedList = solrServer.request(new LukeRequest()); NamedListObject index = (NamedListObject) namedList.get(index); System.out.println(index.get(segmentCount)); It prints 5 into

What is directory and userdata at LukeRequest?

2013-06-10 Thread Furkan KAMACI
I have that line of codes: CloudSolrServer solrServer = SolrCloudServerFactory.getCloudSolrServer(); NamedListObject namedList = solrServer.request(new LukeRequest()); NamedListObject index = (NamedListObject) namedList.get(index); System.out.println(index.get(directory));

How to Get Cloud Statistics and Why It is Permitted to Use CloudSolrServer and LukeRequest?

2013-06-10 Thread Furkan KAMACI
I have two shards. One of them has 46 documents other one has 42. My default core name is collection1. When I select a node from first shard I see that: Last Modified:about a minute ago Num Docs:42 Max Doc:42 Deleted Docs:0 Version:27 Segment Count:1 When I select a node from second shard I

How to check does index needs optimize or not?

2013-06-10 Thread Furkan KAMACI
At admin page there occurs an optimize button if needed. Does it related to current label? I mean does current is true means no need to optimize and current is false means needs to optimeze? If not how can I check whether it needs optimize or not from Solrj with CloudSolrServer?

Re: What to do with CloudSolrServer if Internal Ips are different at my SolrCloud?

2013-06-10 Thread Furkan KAMACI
, Furkan KAMACI furkankam...@gmail.com wrote: I want to use CloudSolrServer via Solrj at my application. However I get that error: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://10.236. **.***:8983/solr/collection1, http

Re: How to check does index needs optimize or not?

2013-06-10 Thread Furkan KAMACI
7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions https://twitter.com/Appinions | g+: plus.google.com/appinions w: appinions.com http://www.appinions.com/ On Mon, Jun 10, 2013 at 9:47 AM, Furkan KAMACI furkankam...@gmail.com

Why there is no getter method for defaultCollection at CloudSolrServer?

2013-06-11 Thread Furkan KAMACI
Why there is no getter method for defaultCollection at CloudSolrServer?

Re: How to Get Cloud Statistics and Why It is Permitted to Use CloudSolrServer and LukeRequest?

2013-06-11 Thread Furkan KAMACI
be the latest date of all shards at given collection etc. Version may be removed for Distributed Luke Request. If it is welcome I can create a Jira and send a patch for it. 2013/6/10 Furkan KAMACI furkankam...@gmail.com I have two shards. One of them has 46 documents other one has 42. My default

Re: Why there is no getter method for defaultCollection at CloudSolrServer?

2013-06-12 Thread Furkan KAMACI
Ok, I will create a JIRA for it. 2013/6/11 Mark Miller markrmil...@gmail.com On Jun 11, 2013, at 4:51 AM, Furkan KAMACI furkankam...@gmail.com wrote: Why there is no getter method for defaultCollection at CloudSolrServer? Want to create a JIRA issue to add it? - Mark

What is Difference Between Down and Gone At Admin Cloud Page?

2013-06-12 Thread Furkan KAMACI
What is Difference Between Down and Gone At Admin Cloud Page?

How to Use PageRank like Document Boosting at Solr?

2013-06-12 Thread Furkan KAMACI
I use Nutch to index my documents. I have a Nutch aware schema at my Solr and there is a field like that: field name=boost type=float stored=true indexed=false/ boost holds the epic score of my documents (similar to Google's pagerank). How can I boost my queries at Solr side?I followed wiki and

Re: What is Difference Between Down and Gone At Admin Cloud Page?

2013-06-13 Thread Furkan KAMACI
=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13255923 On Wednesday, June 12, 2013 at 3:54 PM, Mark Miller wrote: On Jun 12, 2013, at 3:19 AM, Furkan KAMACI furkankam...@gmail.com(mailto: furkankam...@gmail.com) wrote: What is Difference Between Down and Gone At Admin Cloud Page? If I remember right

Got ping response for sessionid every ms at CloudSolrServer

2013-06-13 Thread Furkan KAMACI
I am usng CloudSolrServer at my application. When I look at output I bunch of that messages: 17:16:33.205 [tion(localhost:9983)] DEBUG ClientCnxn - Got ping response for sessionid: 0x13f3c94662c0026 after 0ms 17:16:36.542 [tion(localhost:9983)] DEBUG ClientCnxn - Got ping response for sessionid:

Managing SolrCloud

2013-06-15 Thread Furkan KAMACI
I want to design a controlling mechanism for my SolrCloud. I have two choices. First one is controlling every Solr node from a single point and when I want to start and stop jetty from remote I will connect to my nodes via an ssh library at Java. I will send backup command and recovery process

Highlighting Response

2013-06-17 Thread Furkan KAMACI
Here is my highlight handler: requestHandler name=/browse class=solr.SearchHandler lst name=defaults str name=defTypedismax/str str name=echoParamsexplicit/str float name=tie0.01/float str name=qfcontent^0.5 anchor^1.0 title^1.2/str str name=pfcontent^0.5 anchor^1.5 title^1.2 site^1.5/str str

Dynamic Type For Solr Schema

2013-06-26 Thread Furkan KAMACI
I use Solr 4.3.1 as SolrCloud. I know that I can define analyzer at schema.xml. Let's assume that I have specialized my analyzer for Turkish. However I want to have another analzyer too, i.e. for English. I have that fields at my schema: ... field name=content type=text_tr stored=true

Searching and Retrieving Information Protocol For Solr

2013-06-27 Thread Furkan KAMACI
There is a low level protocol that defines client–server protocol for searching and retrieving information from remote computer databases called as Z39.50. Due to Solr is a commonly used search engine (beside being a NoSQL database) is there any protocol for (I don't mean a low level protocol,

Re: Why there is no getter method for defaultCollection at CloudSolrServer?

2013-06-27 Thread Furkan KAMACI
I've created a JIRA and applied a patch for it: https://issues.apache.org/jira/browse/SOLR-4973 2013/6/12 Furkan KAMACI furkankam...@gmail.com Ok, I will create a JIRA for it. 2013/6/11 Mark Miller markrmil...@gmail.com On Jun 11, 2013, at 4:51 AM, Furkan KAMACI furkankam...@gmail.com

PropagateServer Implementation for Solr

2013-07-03 Thread Furkan KAMACI
will change/add code to them after getting feedback from community (i.e. first patch does not make multi threaded requests at PropagateServer, I just want to get feedbacks of community after that I will add other features) Thanks; Furkan KAMACI

Re: Moving from single Solr instance to Solr Cloud

2013-07-04 Thread Furkan KAMACI
Which version of Solr you are using? 2013/7/4 Ali, Saqib docbook@gmail.com We have single Solr instance with lot of indexed document. Now we would like to move to SolrCloud implementation. Can we move the existing index to SolrCloud? If so, how? Or do we need to reindex our data in

Re: PropagateServer Implementation for Solr

2013-07-04 Thread Furkan KAMACI
can't deploy the web-based monitoring tools for various internal reasons which I won't bore you with!), but I can't see a request in SolrJ that would map to them? On 3 July 2013 22:08, Furkan KAMACI furkankam...@gmail.com wrote: Hi; I've written an e-mail at dev list and I want

Sending Documents via SolrServer as MapReduce Jobs at Solrj

2013-07-05 Thread Furkan KAMACI
We are using Nutch to crawl web sites and it stores documents at Hbase. Nutch uses Solrj to send documents to be indexed. We have Hadoop at our ecosystem as well. I think that there should be an implementation at Solrj that sends documents (via CloudSolrServer or something like that) as MapReduce

<    1   2   3   4   5   6   7   8   >