Re: boost date for fresh result query

2012-05-28 Thread Jonty Rhods
please suggest me I am stuck here.. On Mon, May 28, 2012 at 3:21 PM, Jonty Rhods wrote: > Hi > > I am facing problem to boost on date field. > I have following field in schema > > > solr version 3.4 > I don't want to sort by date but want to give 50 to 60% bo

boost date for fresh result query

2012-05-28 Thread Jonty Rhods
Hi I am facing problem to boost on date field. I have following field in schema solr version 3.4 I don't want to sort by date but want to give 50 to 60% boost those result which have latest date... following are the query : http://localhost:8083/solr/movie/select/?defType=dismax&q=titanic&f

Re: Sorting result first which come first in sentance

2012-05-03 Thread Jonty Rhods
I am using solr version 3.4

Sorting result first which come first in sentance

2012-05-03 Thread Jonty Rhods
> Hi all, > > > > I need suggetion: > > > > I > > Hi all, > > > > I need suggetion: > > > > I have many title like: > > > > 1 bomb blast in kabul > > 2 kabul bomb blast > > 3 3 people killed in serial bomb blast in kabul > > > > I want 2nd result should come first while user search by "kabul". > >

Re: java.net.SocketException: Too many open files

2012-01-23 Thread Jonty Rhods
x27;t help you, we still have not solved tghe problem on > our own. > > Greetings, > Kuli > > Am 25.10.2011 22:03, schrieb Jonty Rhods: > > Hi, > > > > I am using solrj and for connection to server I am using instance of the > > solr server: > > > &g

How to increase maxConnection and maxConnectionPerHost in SolrJ

2012-01-23 Thread Jonty Rhods
Hi All, I have two tomcat on same server. One is for Solr and other is my application server. I am conneting solr server with solrj from application server. As I am connecting locally so the default connection seems to be very less. My server stop responding every few hour only up when I reset the

Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-14 Thread Jonty Rhods
://blog.griddynamics.com/2011/04/fast-hessian-methods-leads-to.html > >for > jdk's http client. Unfortunately I have no experience with your > Commons > Http Client, but cm.closeIdleConnections(0L) looks very suspicious. > > Please let me know whether it works for you. >

server stop responding in few hours due to CLOSE_WAIT

2012-01-13 Thread Jonty Rhods
Hi All , I am facing problem of too many CLOSE_WAIT. My env is : solr 3.4 in Linux RHEL 5.2. I am getting around 1 million request per day on application server on my production. Production server is communicating locally with solr server. I have 5 core setup and for each core I am using seprate

Re: java.net.SocketException: Too many open files

2011-10-25 Thread Jonty Rhods
ake unlimited TCP/IP setting on OS level. Is it right approach? As I am newly shift to Java language so any piece of code will much appreciated and will much easier for me to understand. thanks. regards Jonty On Wed, Oct 26, 2011 at 1:37 AM, Yonik Seeley wrote: > On Tue, Oct 25, 2011

java.net.SocketException: Too many open files

2011-10-25 Thread Jonty Rhods
Hi, I am using solrj and for connection to server I am using instance of the solr server: SolrServer server = new CommonsHttpSolrServer(" http://localhost:8080/solr/core0";); I noticed that after few minutes it start throwing exception java.net.SocketException: Too many open files. It seems tha

Re: SolrServer instances

2011-08-25 Thread Jonty Rhods
do I also required to close the connection from solr server (CommonHttpSolrServer). regards On Fri, Aug 26, 2011 at 9:45 AM, Jonty Rhods wrote: > Deal all please help I am stuck here as I have not much experience.. > > thanks > > On Thu, Aug 25, 2011 at 6:51 PM, Jonty Rhods wro

Re: SolrServer instances

2011-08-25 Thread Jonty Rhods
Deal all please help I am stuck here as I have not much experience.. thanks On Thu, Aug 25, 2011 at 6:51 PM, Jonty Rhods wrote: > Hi All, > > I am using SolrJ (3.1) and Tomcat 6.x. I want to open solr server once (20 > concurrence) and reuse this across all the site. Or so

SolrServer instances

2011-08-25 Thread Jonty Rhods
Hi All, I am using SolrJ (3.1) and Tomcat 6.x. I want to open solr server once (20 concurrence) and reuse this across all the site. Or something like connection pool like we are using for DB (ie Apache DBCP). There is a way to use static method which is a way but I want better solution from you pe

Re: commit time and lock

2011-07-22 Thread Jonty Rhods
ies during commit, only new indexations > requests will have to wait (until end of commit?). So I don't think your > users will experience increased response time during commits (unless your > server is much undersized). > > Pierre > > -Message d'origine- &

Re: previous and next rows of current record

2011-07-21 Thread Jonty Rhods
case, and what's the data available to support your use > case? > > Bob Sandiford | Lead Software Engineer | SirsiDynix > P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com > www.sirsidynix.com > >> -Original Message- >> From: Jonty Rhods [m

Re: commit time and lock

2011-07-21 Thread Jonty Rhods
//wiki.apache.org/solr/FAQ#Performance? > > Best > Erick > > On Tue, Jun 21, 2011 at 2:16 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 &

Re: random record from solr server

2011-07-21 Thread Jonty Rhods
Thanks.. On Monday, July 18, 2011, Ahmet Arslan wrote: >> How can I get random 100 record from last two days record >> from solr server. >> >> I am using solr 3.1 > > Hello, add this random field definition to you schema.xml > > > > Generate some seed value ( e.g. 125) at query time, > > and is

Re: previous and next rows of current record

2011-07-21 Thread Jonty Rhods
Pls help.. On Thursday, July 21, 2011, Jonty Rhods wrote: > Hi, > > Is there any special query in solr to get the previous and next record of > current record.I am getting single record detail using id from solr server. I > need to get  next and previous on detail page. > > regardsJonty >

previous and next rows of current record

2011-07-21 Thread Jonty Rhods
Hi, Is there any special query in solr to get the previous and next record of current record. I am getting single record detail using id from solr server. I need to get next and previous on detail page. regards Jonty

random record from solr server

2011-07-17 Thread Jonty Rhods
Hi, How can I get random 100 record from last two days record from solr server. I am using solr 3.1 regards Jonty

commit time and lock

2011-06-20 Thread Jonty Rhods
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 = System.currentTimeMillis(); server.add(docs); server.commit(); System.out.println("total time in commit = " +

Re: query about the server configuration

2011-06-19 Thread Jonty Rhods
I forgot an important point that I need to commit the server in 2 to 5 minutes.. please help.. regards On Sun, Jun 19, 2011 at 11:29 PM, Ranveer wrote: > Please help I am also in same situation. > > regards > > > > On Sunday 19 June 2011 12:59 PM, Jonty Rhods wrote: >

Jonty Rhods wants to chat

2011-06-19 Thread Jonty Rhods
--- Jonty Rhods wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-26ddccf9dc-56859aec19-TvU2zC9tjv8Q_u4jzhyceWuZkgs Y

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

2011-06-19 Thread Jonty Rhods
for heavy use (30 to 40 concurrent user) will it work. How to open and maintain more connection at a time like connection pool. So user cat receive fast response.. regards On Fri, Jun 17, 2011 at 12:50 PM, Ahmet Arslan wrote: > > SolrServer server = new CommonsHttpSolrServer(URL); > > > > t

query about the server configuration

2011-06-19 Thread Jonty Rhods
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 docs per day. Size of the data per day will be around 50 MB. I am expecting 10 to 30 concurrent hit on serv

synonym configuration logic require

2010-10-12 Thread Jonty Rhods
Hi all, I am pretty new in solr. I want to configure synonym for forwarding result (for exact match). my schema is : There is name field which is define as text_sync. When I am searching by "newyork show" its working fine and givin

Implementing synonym NewBie

2010-08-28 Thread Jonty Rhods
Hi All, I want to use synonym for my search. Still I am in learning phase of solr. So please help me to implement synonym in my search. according to wiki synonym can be implemented in two ways. 1> at index time 2> at search time] I have combination 10 of phrase for synonym so which will be better

Re: logic required for newbie

2010-07-28 Thread Jonty Rhods
> I hope this was needed reply..If something elseyou can easy > question..;) > > > On Wed, Jul 28, 2010 at 8:42 PM, Jonty Rhods > wrote: > > > Hi > > > > thanks for reply.. > > Actually requirement is diffrent (sorry if I am unable to clerify in > f

Re: logic required for newbie

2010-07-28 Thread Jonty Rhods
; This will return you > results.. > And if you want only particular fields in output.. use the "fl" parameter > in > query... > > like > > http://localhost:8090/solr/select? > indent=on&q=landmark9&fl=ID,user_id,country,landmark& > > This wil

logic required for newbie

2010-07-27 Thread Jonty Rhods
Hi All, I am very new and learning solr. I have 10 column like following in table 1. id 2. name 3. user_id 4. location 5. country 6. landmark1 7. landmark2 8. landmark3 9. landmark4 10. landmark5 when user search for landmark then I want to return only one landmark which match. Rest of the lan

Re: logic for auto-index

2010-06-02 Thread Jonty Rhods
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 Wed, Jun 2, 2010 at 2:00 PM, Peter Karich wrote: > Hi Jonty, > > what is

logic for auto-index

2010-06-02 Thread Jonty Rhods
Hi All, I am very new to solr as well as java too. I require to use solrj for indexing also require to index automatically once in 24 hour. I wrote java code for indexing now I want to do further coding for automatic process. Could you suggest or give me sample code for automatic index process.. p

Fwd: how to patch solr-236 in mac os

2010-05-12 Thread Jonty Rhods
please help me.. I am stuck.. I tried different way using terminal but still not finding way to patch... -- Forwarded message -- From: Jonty Rhods Date: Wed, May 12, 2010 at 11:56 AM Subject: Re: how to patch solr-236 in mac os To: solr-user@lucene.apache.org I tried to patch

Re: multivalue fields logic required

2010-05-12 Thread Jonty Rhods
ista > http://www.paradigmatecnologico.com > Avenida de Europa, 26. Ática 5. 3ª Planta > 28224 Pozuelo de Alarcón > Tel.: 91 352 59 42 > > > 2010/5/12 Jonty Rhods > > > Hi Marco, > > > > I am trying to patch for collapse component support (till now no l

Re: multivalue fields logic required

2010-05-12 Thread Jonty Rhods
; returned. > 3. Do a post-processing of your data. > > Maybe you will have more solutions but these are what i have thought right > now. > > Regards, > > > Marco Martínez Bautista > http://www.paradigmatecnologico.com > Avenida de Europa, 26. Ática 5. 3ª Planta &

Re: how to patch solr-236 in mac os

2010-05-11 Thread Jonty Rhods
, 2010 at 11:53 AM, Jonty Rhods wrote: > hi > > I tried to patch by following command on console > > patch -p0 < SOLR-236-trunk.patch > patching file > solr/src/java/org/apache/solr/handler/component/CollapseComponent.java > patching file > solr/src/test/t

Re: how to patch solr-236 in mac os

2010-05-11 Thread Jonty Rhods
lled), just > right-click on the project>>team>>apply patch and follow the wizard > > HTH > Erick > > On Tue, May 11, 2010 at 12:50 PM, Jonty Rhods > wrote: > > > hi David, > > thanks for quick reply.. > > please give me full command. so I can p

Re: how to patch solr-236 in mac os

2010-05-11 Thread Jonty Rhods
mac. > > David Stuart > > > On 11 May 2010, at 17:15, Jonty Rhods wrote: > > hi all, >> >> I am very new to solr. >> Now I required to patch solr (patch no 236). >> I download the latest src code and patch, but unable to finde suitable way >> to patch. >> I have eclipse installed. >> >> please guide me.. >> >

how to patch solr-236 in mac os

2010-05-11 Thread Jonty Rhods
hi all, I am very new to solr. Now I required to patch solr (patch no 236). I download the latest src code and patch, but unable to finde suitable way to patch. I have eclipse installed. please guide me..

Re: multivalue fields logic required

2010-05-06 Thread Jonty Rhods
thanks :General solution is to index 3 different SolrDocument in your example. id and name fields will repeat themselves. All fields will be single-valued. if I am indexing 3 different field then if user is searching by name + dept then it will return duplicate value.. is there any other best pos

multivalue fields logic required

2010-05-05 Thread Jonty Rhods
Hi, recently I start to work on solr, So I am still very new to use solr. Sorry if I am logically wrong. I have two table, parent and referenced (child). for that I set multivalue field following is my schema details indexed data details: student1 student2 stud

Re: synonym filter problem for string or phrase

2010-04-29 Thread Jonty Rhods
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://www.paradig