Solr Upgrade from 1.4 to 3.1

2011-08-31 Thread Pawan Darira
Hi I want to upgrade my solr version 1.4 to 3.1. Please suggest the steps & what challenges might occur. I have started using solr from 1.4 & this is my 1st experience to upgrade the version thanks Pawan

Optimize concern in Solr 3.2

2011-09-02 Thread Pawan Darira
Hi I have recently upgraded from Solr 1.4 to Solr 3.2. In Solr 1.4 only 3 files (one .cfs & two segments) file were made in *index/* directory. (after doing optimize). Now, in Solr 3.2, the optimize seems not be working. My final number of files in *index/* directory are in 7-8 in number. Can an

Re: Optimize concern in Solr 3.2

2011-09-02 Thread Pawan Darira
Thanks for the guidance But it could not work out. Although m reading the link provided by you, but can it be due to write.lock file being created in "/index/" directory. Please suggest - pawan On Fri, Sep 2, 2011 at 6:34 PM, Michael Ryan wrote: > > I have recently upgraded from Solr 1.4 to S

Index not getting refreshed

2011-09-14 Thread Pawan Darira
Hi I am using Solr 3.2 on a live website. i get live user's data of about 2000 per day. I do an incremental index every 8 hours. but my search results always show the same result with same sorting order. when i check the same search from corresponding db, it gives me different results always (as n

Re: Index not getting refreshed

2011-09-14 Thread Pawan Darira
I am commiting but not doing replication now. Mine sort order also includes last login timestamp. the new profiles are being reflected in my SOLR admin & db. but its not listed on my website. On Thu, Sep 15, 2011 at 4:25 AM, Chris Hostetter wrote: > > : I am using Solr 3.2 on a live website. i ge

Re: Index not getting refreshed

2011-09-14 Thread Pawan Darira
Pawan, > > Can you please share more details on the indexing mechanism ? (DIH, SolrJ > or any other) > Please let us know the configuration details. > > > On Wed, Sep 14, 2011 at 12:48 PM, Pawan Darira >wrote: > > > Hi > > > > I am using Solr 3.2 on a l

Error in New Solr version

2011-12-01 Thread Pawan Darira
Hi I am migrating from Solr 1.4 to Solr 3.2. I am getting below error in my logs org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.component.CollapseComponent Could not found satisfactory solution on google. please help thanks Pawan

Solr Version Upgrade issue

2011-12-05 Thread Pawan Darira
Hi I am trying to upgrade my SOLR version from 1.4 to 3.2. but it's giving me below exception. I have checked solr home path & it is correct.. Please help SEVERE: Could not start Solr. Check solr/home property java.lang.NoSuchMethodError: org.apache.solr.common.SolrException.logOnce(Lorg/slf4j/Lo

Re: Solr Version Upgrade issue

2011-12-06 Thread Pawan Darira
I checked that. there are only latest jars. I am not able to figure out the issue. On Tue, Dec 6, 2011 at 6:57 PM, Mark Miller wrote: > Looks like you must have a mix of old and new jars. > > On Tuesday, December 6, 2011, Pawan Darira wrote: > > Hi > > > > I a

Solr 3.2 - Results not showing up

2011-12-08 Thread Pawan Darira
Hi I newly upgraded to Solr 3.2 from Solr 1.4. I was using DIH in 1.4 & also in 3.2. I built my index & it doesn't gave me any issues. The index directory & it's files are properly in place Now, when i tried to look the data through admin, it is giving me ZERO results. does it due to "HTTP Cachin

Re: Solr 3.2 - Results not showing up

2011-12-08 Thread Pawan Darira
; Did you read the CHANGES.txt file to see if it mentions > any changes you need to know about? > > I did read the CHANGES.txt file > You might want to review: > http://wiki.apache.org/solr/UsingMailingLists > as you've given us very little to really go on. > > Best > Eric

Re: Solr Version Upgrade issue

2011-12-15 Thread Pawan Darira
Any additional entries in your > solrconfig.xml? > > These details help us diagnose your problem, but it's almost certainly > that you have a mixture of jar files lying around your machine in > a place you don't expect. > > Best > Erick > > On Wed, Dec 7, 201

How to get most indexed keyword from SOLR

2010-08-20 Thread Pawan Darira
Hi I have daily 1000 of classifieds ads posting in my SOLR index. There is an ad description field where details of the respective ad is stored. I want to know the list of keywords which are used maximum no. of times across 1000 ads posted in a day. -- Thanks, Pawan Darira

Re: How to get most indexed keyword from SOLR

2010-08-22 Thread Pawan Darira
cified > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Training in Europe - www.solrtraining.com > > On 20. aug. 2010, at 11.39, Pawan Darira wrote: > > > Hi > > > > I have daily 1000 of classifieds ads posting in my SO

How to delete documents from SOLR index using DIH

2010-08-24 Thread Pawan Darira
Hi I am using data import handler to build index. How can i delete documents from my index using DIH. -- Thanks, Pawan Darira

Re: How to delete documents from SOLR index using DIH

2010-08-25 Thread Pawan Darira
gt; delete the old one and insert the new document. > > If this makes no sense, could you explain what the underlying problem > you're > trying to solve is? > > HTH > Erick > > On Tue, Aug 24, 2010 at 8:56 PM, Pawan Darira >wrote: > > > Hi > > >

Can i do relavence and sorting together?

2010-09-17 Thread Pawan Darira
ion should be given top priority. Also, i want that these results should be sorted on ad_post_date. Please suggest!!! -- Thanks, Pawan Darira

How to index on basis of a condition?

2010-10-24 Thread Pawan Darira
Hi I want to index a particular field on one if() condition. Can i do it through DIH? Please suggest. -- Thanks, Pawan Darira

Re: How to index on basis of a condition?

2010-10-26 Thread Pawan Darira
ip only that field if it does not match > condition, you could use doc.removeField(name) instead. Now you can feed > your content using whatever method you like. > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 25. okt. 2010, at 08.38, Paw

Re: How to index on basis of a condition?

2010-10-26 Thread Pawan Darira
I am using mysql database, and, field type is "date" On Tue, Oct 26, 2010 at 2:56 PM, Gora Mohanty wrote: > On Tue, Oct 26, 2010 at 2:37 PM, Pawan Darira > wrote: > > Thanks Mr. Ephraim Ofir. I used the SELECT IF() for my requirement. The > > query result is corr

Re: How to index on basis of a condition?

2010-10-26 Thread Pawan Darira
| | NULL| ++ Thanks Pawan On Tue, Oct 26, 2010 at 4:36 PM, Gora Mohanty wrote: > On Tue, Oct 26, 2010 at 3:56 PM, Pawan Darira > wrote: > > I am using mysql database, and, field type is "date" > [...] > > Could you show us the exact SELECT statement, and some exampl

Multiple Keyword Search

2010-11-01 Thread Pawan Darira
-- Thanks, Pawan Darira

Doubts regarding Multiple Keyword Search

2010-11-18 Thread Pawan Darira
Hi I am searching for keywords: ad testing (without quotes). I want result containing both words on the top. But it is giving me results containing words: ad test. Is it correct or any logic behind that i.e. will it consider the word "test" also ? Please help -- Thanks, Pawan Darira

Phrase Search & Multiple Keywords with Double quotes

2010-11-21 Thread Pawan Darira
Thanks, Pawan Darira

How to generate tag cloud in SOLR?

2010-11-23 Thread Pawan Darira
Hi Is there a way out in SOLR/lucene to generate a tag cloud? -- Thanks, Pawan Darira

Different Cluster Results on Different Servers, with same SOLR setup

2011-04-25 Thread Pawan Darira
thing seems fine. i am creating index through "DIH" p.s. my application & solr setup is similar on staging & production please suggest any solution. -- Thanks, Pawan Darira

Want to Delete Existing Index & create fresh index

2011-05-13 Thread Pawan Darira
Hi I had an existing index created months back. now my database schema has changed. i wanted to delete the current data/index directory & re-create the fresh index but it is saying that "segments" file not found & just create blank data/index directory. Please help -- Thanks, Pawan Darira

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Pawan Darira
t; On May 14, 2011, at 1:53 AM, Gabriele Kahlout wrote: > > > "curl --fail $solrIndex/update?commit=true -d > > '*:*'" #empty index [1 > > < > http://wiki.apache.org/nutch/Whole-Web%20Crawling%20incremental%20script>] > > > > did u try? &

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Pawan Darira
up SOLR. > > So just go ahead and post your data into SOLR, if you have changed the > schema already. > > -- > Regards, > > Dmitry Kan > > On Sat, May 14, 2011 at 4:01 PM, Pawan Darira >wrote: > > > I did that. Index directory is created but not contents i

Re: Want to Delete Existing Index & create fresh index

2011-05-16 Thread Pawan Darira
It is by default commented in solrconfig.xml On Sat, May 14, 2011 at 10:49 PM, Gabriele Kahlout wrote: > I guess you are having issues with the datadir. Did you set the datadir in > solrconfig.xml? > > On Sat, May 14, 2011 at 4:10 PM, Pawan Darira >wrote: > > > Hi >

Re: Want to Delete Existing Index & create fresh index

2011-05-16 Thread Pawan Darira
1 at 4:10 PM, Pawan Darira >wrote: > > > Hi > > > > I am using Solr 1.4. & had changed schema already. When i created the > index > > for first time, the directory was automatically created & index made > > perfectly fine. > > > > Now, i

Multiple Values not getting Indexed

2011-06-08 Thread Pawan Darira
; Field2 - Chandigarh,Gurgaon,New Delhi,Ahmedabad,Rajkot,Surat,Mumbai,Nagpur,Pune,India - Others *Schema.xml* p.s. i tried multivalued=true but of no help. -- Thanks, Pawan Darira

Re: Multiple Values not getting Indexed

2011-06-09 Thread Pawan Darira
it did not work :( On Thu, Jun 9, 2011 at 12:53 PM, Bill Bell wrote: > You have to take the input and splitBy something like "," to get it into > an array and reposted back to > Solr... > > I believe others have suggested that? > > On 6/8/11 10:14 PM, "Pawan

Re: Multiple Values not getting Indexed

2011-06-11 Thread Pawan Darira
also the same as it was before using "split by". Along with split-by i mentioned the attribute as "multivalued=true". On Fri, Jun 10, 2011 at 10:40 AM, Gora Mohanty wrote: > On Fri, Jun 10, 2011 at 10:36 AM, Pawan Darira > wrote: > > it did not work :( >

Readercycle script issue

2011-07-13 Thread Pawan Darira
Hi my readercycle script is not reloading the searcher. where i may be wrong. please help Thanks Pawan

Copy Fields while Replication

2011-08-04 Thread Pawan Darira
Hi I would like to know whether i can add new fields while replicating index on Slave. E.g. My Master has index with field "F1" which is created with type "string". Now, i don't want "F1" as a type "string" & also have limitation that i cannot change the field type at schema level. Now, if i repl

Re: Copy Fields while Replication

2011-08-07 Thread Pawan Darira
:03 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Fri, Aug 5, 2011 at 9:39 AM, Pawan Darira > wrote: > > > > > I would like to know whether i can add new fields while replicating index > > on > > Slave. E.g. My Master has index with field "F

Can Master push data to slave

2011-08-08 Thread Pawan Darira
Hi I am using Solr 1.4. and doing a replication process where my slave is pulling data from Master. I have 2 questions a. Can Master push data to slave b. How to make sure that lock file is not created while replication Please help thanks Pawan

Nutch related issue: URL Ignore

2011-08-12 Thread Pawan Darira
hi i am using nutch 1.2. in my crawl-urlfilter.txt, i am specifying URLs to be skipped. i am giving some patterns that need to be skipped but it is not working e.g. -^http://([a-z0-9]*\.)*domain.com +^http://([a-z0-9]*\.)*domain.com/([0-9-a-z])*.html -^http://([a-z0-9]*\.)*domain.com/([a-z/])* -

Re: Can Master push data to slave

2011-08-14 Thread Pawan Darira
Regarding point b, i mean that when Slave server does a replication from Master, it creates a lock-file in it's index directory. How to avoid that? On Tue, Aug 9, 2011 at 2:56 AM, Markus Jelsma wrote: > Hi, > > > Hi > > > > I am using Solr 1.4. and doing a replication process where my slave is >