Re: Solr Cores

2012-01-29 Thread Ranveer Kumar
How much query per second a single core can handle in this case.. regards On Wed, Jan 25, 2012 at 9:49 AM, Sujatha Arun suja.a...@gmail.com wrote: Thanks Erick. Regards Sujatha On Mon, Jan 23, 2012 at 11:16 PM, Erick Erickson erickerick...@gmail.com wrote: You can have a large number

Re: CLOSE_WAIT after connecting to multiple shards from a primary shard

2012-01-23 Thread Ranveer
there is not much thread is open. I have doubt in httpclient. any help.. regards On Tuesday 24 January 2012 07:27 AM, Mukunda Madhava wrote: Hi Ranveer, I dont have any solution to this problem. I havent got any response from the forums as well. I implemented custom design for distributed searching

Re: Too many connections in CLOSE_WAIT state on master solr server

2012-01-09 Thread Ranveer
Hi, I am facing same problem. Did -Dhttp.maxConnections resolve the problem ? Please let us know! regards Ranveer On Thursday 15 December 2011 11:30 AM, samarth s wrote: Thanks Erick and Mikhail. I'll try this out. On Wed, Dec 14, 2011 at 7:11 PM, Erick Ericksonerickerick...@gmail.com

Re: field value getting null with special char

2011-09-27 Thread Ranveer
. regards Ranveer On Sunday 25 September 2011 12:11 AM, Erick Erickson wrote: I can't imagine that the ( or ) is a problem. So I think we need to see how you're using SolrJ. In particular, are you asking for the field in question to be returned (e.g. SolrQuery.setFields or addField)? Second

field value getting null with special char

2011-09-20 Thread Ranveer
. regards Ranveer

Re: field value getting null with special char

2011-09-20 Thread Ranveer Kumar
Is any help.. I am unable to figure out.. On 20-Sep-2011 2:22 PM, Ranveer ranveer.s...@gmail.com wrote: Hi All, I am facing problem to get value from solr server for a particular field. My environment is : Red hat 5.3 Solr 3.3 Jdk 1.6.24 Tomcat 6.2x Fetching value using SolrJ When using

Re: category tree navigation with the help of solr

2011-09-05 Thread Ranveer
of less same thing I am doing in www.jagranjosh.com and videos.jagran.com regards Ranveer On Monday 05 Septyember 2011 01:09 PM, Tony Qiu wrote: Dear Gupta, In my case, I am doing something similar to you. I use tow core, one core I build category's tree, another core I use to build the product's

not equals query in solr

2011-08-24 Thread Ranveer Kumar
.. regards Ranveer

Re: not equals query in solr

2011-08-24 Thread Ranveer Kumar
Hi, is it right way to do : q=(state:[* TO *] AND city:[* TO *]) regards Ranveer On Wed, Aug 24, 2011 at 12:54 PM, Ranveer Kumar ranveer.s...@gmail.comwrote: Hi All, How to do negative query in solr. Following are the criteria : I have state and city field where I want to filter only those

Re: not equals query in solr

2011-08-24 Thread Ranveer Kumar
any help... On Wed, Aug 24, 2011 at 12:58 PM, Ranveer Kumar ranveer.s...@gmail.comwrote: Hi, is it right way to do : q=(state:[* TO *] AND city:[* TO *]) regards Ranveer On Wed, Aug 24, 2011 at 12:54 PM, Ranveer Kumar ranveer.s...@gmail.comwrote: Hi All, How to do negative query

how to get row no. of current record

2011-08-02 Thread Ranveer
Hi, How to know the row number of current record. i.e : suppose we have 10 million record indexed. Currently I am on 5th records and id of the this record is XYZ00234, how to know that the current record rows no is 5th. thanks.. regards Ranveer

Re: how to get row no. of current record

2011-08-02 Thread Ranveer
any help.. On Tuesday 02 August 2011 11:22 PM, Ranveer wrote: Hi, How to know the row number of current record. i.e : suppose we have 10 million record indexed. Currently I am on 5th records and id of the this record is XYZ00234, how to know that the current record rows no is 5th

Re: how to get row no. of current record

2011-08-02 Thread Ranveer
Hi Anshum, Thanks for reply. My requirement is to get result start from current id. For this I need to set start rows. I am looking something like Jonty's post : http://lucene.472066.n3.nabble.com/previous-and-next-rows-of-current-record-td3187935.html thanks Ranveer On Wednesday 03

Re: Announcement/Invitation: Melbourne Solr/Lucene Users Group

2011-07-20 Thread Ranveer Kumar
Hi, I m intrested to atained but not in aus.:-( Regards On 21-Jul-2011 9:45 AM, Dave Hall dave.h...@skwashd.com wrote: Hi Tal, On 21/07/11 14:04, Tal Rotbart wrote: We have noticed that there is a blossoming of Apache Solr/Lucene usage development in Melbourne in addition to a lack of an

Re: commit time and lock

2011-06-22 Thread Ranveer
Dear all, Kindly help me.. thanks On Tuesday 21 June 2011 11:46 AM, Jonty Rhods wrote: I am using solrj to index the data. I have around 5 docs indexed. As at the time of commit due to lock server stop giving response so I was calculating commit time: double starttemp =

Re: query about the server configuration

2011-06-20 Thread Ranveer
, Erick Erickson wrote: From Ahmet Arslan's email to Ranveer: It uses HttpClient under the hood. You can pass httpClient to its constructor too. It seems that MultiThreadedHttpConnectionManager has setMaxConnectionsPerHost method. String serverPath = http://localhost:8983/solr;; HttpClient client

Re: query about the server configuration

2011-06-19 Thread Ranveer
Please help I am also in same situation. regards On Sunday 19 June 2011 12:59 PM, Jonty Rhods wrote: Dear all, I am quite new and not work on solr for heavy request. I have following server configuration: 16GB RAM 16 CPU I need to index update in every minutes and at least more than 5000

Re: about the SolrServer server = new CommonsHttpSolrServer(URL);

2011-06-19 Thread Ranveer
thanks.. however few more query. How to maintain connections threads (max and min settings)? What would be ideal setting for max in setMaxConnectionsPerHost method. Will it be ok for 30 to 40 concurrent user. How thread will be maintain for MultiThreadedHttpConnectionManager class. On

about the SolrServer server = new CommonsHttpSolrServer(URL);

2011-06-17 Thread Ranveer
Dear all, I am using SolrServer server = new CommonsHttpSolrServer(URL); through out the class. How can I improve the connection, in my case: should I need to close the server after fetching the result or CommonsHttpSolrServer(URL); will maintain at their end. There is other way: I can

Re: scheduling imports and heartbeats

2010-11-09 Thread Ranveer Kumar
You should use cron for that.. On 10 Nov 2010 08:47, Tri Nguyen tringuye...@yahoo.com wrote: Hi, Can I configure solr to schedule imports at a specified time (say once a day, once an hour, etc)? Also, does solr have some sort of heartbeat mechanism? Thanks, Tri

Re: SolrJ Response + JSON

2010-07-29 Thread Ranveer
Rajani is right you can get response by passing wt=json. But I think if you want to use solrj then you will require to parse binary format data in json format or you can use third party json parser. regards Ranveer http://www.onlymyhealth.com On Thursday 29 July 2010 09:55 AM, rajini maski

Re: display solr result in JSP

2010-07-28 Thread Ranveer
Ranveer On Wednesday 28 July 2010 08:11 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: I am new for solr. Just got example xml file index and search by following solr tutorial. I wonder how I can get the search result display in a JSP. I really appreciate any suggestions you can give. Thanks so much

Re: simple question from a newbie

2010-07-28 Thread Ranveer
I think you using wild-card search or should use wild-card search. but first of all please provide the schema and configuration file for more details. regards Ranveer On Wednesday 28 July 2010 07:51 PM, Nguyen, Vincent (CDC/OSELS/NCPHI) (CTR) wrote: Hi, I'm new to Solr and have a rather

Re: logic for auto-index

2010-06-02 Thread Ranveer
Hi Peter, actually I want the index process should start automatically. right now I am doing mannually. same thing I want to start indexing when less load on server i.e. late night. So setting auto will fix my problem.. On Wednesday 02 June 2010 02:00 PM, Peter Karich wrote: Hi Jonty,

max no of column in schema

2010-05-04 Thread Ranveer
Hi, How many column can we defined in schema. I have already around 100 column in schema.. thanks

Re: require synonym filter on string field

2010-04-29 Thread Ranveer
On 4/29/10 3:45 PM, Koji Sekiguchi wrote: Ranveer Kumar wrote: Hi, I require to configure synonym to exact match. The field I need to search is string type. I tried to configure by the text but in text, due to whitespace tokenizer exact match not found. My requirement is : suppose user

synonym filter problem for string or phrase

2010-04-29 Thread Ranveer
Hi, I am trying to configure synonym filter. my requirement is: when user searching by phrase like what is solr user? then it should be replace with solr user. something like : what is solr user? = solr user My schema for particular field is: fieldType name=text_sync class=solr.TextField

Re: synonym filter problem for string or phrase

2010-04-29 Thread Ranveer
On 4/29/10 8:50 PM, Marco Martinez wrote: Hi Ranveer, If you don't specify a field type in the q parameter, the search will be done searching in your default search field defined in the solrconfig.xml, its your default field a text_sync field? Regards, Marco Martínez Bautista http

Re: Facet count problem

2010-04-18 Thread Ranveer Kumar
I am.using text for type, which is static. For example: type is a field and I am using type for categorization. For news type I am using news and for blog using blog.. type is a text field. On Apr 17, 2010 8:38 PM, Ahmet Arslan iori...@yahoo.com wrote: I am facing problem to get facet result

Re: Facet count problem

2010-04-18 Thread Ranveer Kumar
, which is not recommended. You might take a look at: http://wiki.apache.org/solr/UsingMailingLists, it'll help you frame your questions in a manner that gets you your answers as fast as possibld. Best Erick On Sun, Apr 18, 2010 at 12:59 PM, Ranveer Kumar ranveer.s...@gmail.com wrote: I

Re: HTMLStripCharFilterFactory configuration problem

2010-04-17 Thread Ranveer Kumar
that you get the stored value of the field as a result and not the indexed one. Cheers, Sven --On Wednesday, April 14, 2010 02:54:52 PM +0530 Ranveer Kumar ranveer.s...@gmail.com wrote: Hi all, I am facing problem to configure HTMLStripCharFilterFactory. following is the schema

Facet count problem

2010-04-17 Thread Ranveer Kumar
Hi, I am facing problem to get facet result count. I must be wrong somewhere. I am getting proper result count when searching by single word, but when searching by string then result count become wrong. for example : - search keyword : Bagdad bomb blast. I am getting 5 result count for facet

Re: HTMLStripCharFilterFactory configuration problem

2010-04-17 Thread Ranveer Kumar
thanks.. Actually I am using SolrJ client.. Is there anyway to do same using solrj. thanks On Sat, Apr 17, 2010 at 8:06 PM, Ahmet Arslan iori...@yahoo.com wrote: Thanks for reply.. but how will I get the stored value instead of indexed value.. where I need to configure to get stored

HTMLStripCharFilterFactory configuration problem

2010-04-14 Thread Ranveer Kumar
Hi all, I am facing problem to configure HTMLStripCharFilterFactory. following is the schema : fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index charFilter class=solr.HTMLStripCharFilterFactory/ tokenizer class=solr.WhitespaceTokenizerFactory/

how to patch solr

2010-02-22 Thread Ranveer Kumar
Hi All, I have no idea about How to run patch? I am using windows os and I need to patch https://issues.apache.org/jira/secure/attachment/12407047/SOLR-1139.patch Currently I download solr 1.4 and using. Should I need to download source code and compiled. or can patch jar (compiled) file

Re: Facet search concept problem

2010-02-15 Thread Ranveer Kumar
,article and blog respectively. when searching with facet's elabled make use of this 'type' field then you will get what you wanted. Regards, P.N.Raju, From: Ranveer Kumar ranveer.s...@gmail.com To: solr-user@lucene.apache.org Sent: Sun, February 14

Facet search concept problem

2010-02-13 Thread Ranveer Kumar
Hi All, My concept still not clear about facet search. I am trying to search using facet query. I am indexing data from three table, following is the detail of table: table name: news news_id news_details table name : article article_id article_details table name: blog blog_id blog_details I

joining two field for query

2010-02-09 Thread Ranveer Kumar
Hi all, I need logic in solr to join two field in query; I indexed two field : id and body(text type). 5 rows are indexed: id=1 : text= nokia samsung id=2 : text= sony vaio nokia samsung id=3 : text= vaio nokia etc.. I am searching by q=id:1 returning result perfectly, returning

Re: joining two field for query (Solved)

2010-02-09 Thread Ranveer Kumar
Hi Ahmet, Thank you very much.. my problem solved.. with regards On Tue, Feb 9, 2010 at 5:38 PM, Ahmet Arslan iori...@yahoo.com wrote: I am searching by nokia and resulting (listing) 1,2,3 field with short description. There is link on search list(like google), by clicking on link

Embedded Solr problem

2010-02-07 Thread Ranveer Kumar
Hi All, I am still very new to solr. Currently I am facing problem to use EmbeddedSolrServer. following is my code: File home = new File(D:/ranveer/java/solr_home/solr/first); CoreContainer coreContainer = new CoreContainer(); SolrConfig config = null; config = new SolrConfig

Re: Embedded Solr problem

2010-02-07 Thread Ranveer Kumar
) and subsquently use the query method of SolrServer to do the query. Cheers, Sven --On Sonntag, 7. Februar 2010 21:54 +0530 Ranveer Kumar ranveer.s...@gmail.com wrote: Hi All, I am still very new to solr. Currently I am facing problem to use EmbeddedSolrServer. following is my code

html tag problem while searching

2010-02-05 Thread Ranveer Kumar
Hi All, I have problem related to html tag. Basically in database some column carry html tage, for example p Hello how are you? /p I am indexing same as it is in index. I am filtering solr supported special character at query time. now the problem is when I am searching by p then result is *p

getting error when : in the query

2010-01-31 Thread Ranveer Kumar
ipod my full query is : http://localhost:8080/solr/select?q=ipod:touchhl=truestart=0rows=10hl.fragsize=0hl.fl=bodyhl.snippets=2wt=xmlversion=2.2 is there any configuration to allow : in query. please help. thanks with regards Ranveer K Kumar

Re: getting error when : in the query

2010-01-31 Thread Ranveer Kumar
, From: Ranveer Kumar ranveer.s...@gmail.com To: solr-user@lucene.apache.org Sent: Sun, January 31, 2010 5:35:37 PM Subject: getting error when : in the query Hi All, Facing problem when someone searching the string which carry special character : . For example: when querying by ipod:touch

How to disable wildcard search

2010-01-27 Thread Ranveer Kumar
Hi all, How to remove/disable wildcard search in solr. I have no requirement of wildcard. is there any configuration to disable wildcard search in solr. I am using solrj for searching.. thanks With regards Ranveer K Kumar

Re: Hindi language support in solr

2010-01-22 Thread Ranveer kumar
source=cat_name dest=textgen/ copyField source=summary dest=textgen/ In the summary field there are hindi keywords. Please help.. thanks with regards Ranveer K Kumar On Thu, Jan 21, 2010 at 11:25 PM, Robert Muir rcm...@gmail.com wrote: hello, take a look at field type textgen

Hindi language support in solr

2010-01-21 Thread Ranveer kumar
Hi all, I am very new in solr. I download latest release 1.4 and install. For Indexing and Searching I am using SolrJ api. My Question is How to enable solr to search hindi language text ?. Please Help me.. thanks with regards Ranveer K Kumar