Issues With Solr Cloud Setup

2010-05-14 Thread Rakhi Khatwani
Hi, I was going through solr cloud documentation ( http://wiki.apache.org/solr/SolrCloud). and was trying out a simple setup. I could execute example A and B successfully. However whn i try example C, i get the following exception: 2010 12:22:29 PM org.apache.log4j.Category warn WARNING:

Facet Queries

2010-05-14 Thread Rakhi Khatwani
Hi, whn i use facet queries, whats the default size of the results returned? how do we configure if we want all the results shown? Regards Raakhi

Re: Facet Queries

2010-05-14 Thread Rakhi Khatwani
#Field_Value_Faceting_Parameters On Fri, May 14, 2010 at 10:38 AM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, whn i use facet queries, whats the default size of the results returned? how do we configure if we want all the results shown? Regards Raakhi

Issues with clustering in multicore

2010-05-17 Thread Rakhi Khatwani
Hi, I was trying out a clustering example. which worked out as mentioned in the document. Now, I want to use the clustering feature in my multicore where i have my core indexes saved. so i edit the solrconfig.xml in tht file to add clustering information (i did make sure that the lib

Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread Rakhi Khatwani
Hi, Is there any way to get all the fields (irrespective of whether it contains a value or null) in solrDocument. or Is there any way to get all the fields in schema.xml of the url link ( http://localhost:8983/solr/core0/)?? Regards, Raakhi

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread Rakhi Khatwani
:14 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, Is there any way to get all the fields (irrespective of whether it contains a value or null) in solrDocument. or Is there any way to get all the fields in schema.xml of the url link ( http://localhost:8983/solr/core0

Re: Using solrJ to get all fields in a particular schema/index

2010-06-03 Thread Rakhi Khatwani
Hi, Oh okay. Thanks a ton On Tue, May 25, 2010 at 11:15 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: :Is there any way to get all the fields (irrespective of whether : it contains a value or null) in solrDocument. no. a document only has Field instances for the

Deleted documents appearing in facet fields

2010-06-03 Thread Rakhi Khatwani
Hi, I have a schema with id as one of the fields. i index some documents (by adding and deleting some documents). when i perform faceting on all documents(q=*:*) with facet.field=id, i even get those id's for which the document is deleted for example: (025_null,026_null are deleted

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Rakhi Khatwani
Hi Ahmet, but i use solrj to commit documents. and there is no commit method which allows you to mention expungeDeletes. BTW i am using solr 1.4 Regards, Raakhi On Thu, Jun 3, 2010 at 5:03 PM, Ahmet Arslan iori...@yahoo.com wrote: Hi, I have a schema with id as one

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Rakhi Khatwani
Thankyou So Much :) On Thu, Jun 3, 2010 at 6:47 PM, Ahmet Arslan iori...@yahoo.com wrote: Hi Ahmet, but i use solrj to commit documents. and there is no commit method which allows you to mention expungeDeletes. Alternatively you can do it with SolrQuery. final

Re: question about the fieldCollapseCache

2010-06-15 Thread Rakhi Khatwani
Hi, I tried downloading solr 1.4.1 from the site. but it shows an empty directory. where did u get solr 1.4.1 from? Regards, Raakhi On Tue, Jun 8, 2010 at 10:35 PM, Jean-Sebastien Vachon js.vac...@videotron.ca wrote: Hi All, I've been running some tests using 6 shards each one

Re: Field Collapsing SOLR-236

2010-06-16 Thread Rakhi Khatwani
Hi, I wanted to try out field collapsing for a requirement. i went through the wiki and solr-236. but there are lot of patch files. and the comments below left me confused. i tried applyin the patch file on 1.4.0 release but ended up with many compile errors. i even downloaded the latest

Re: Field Collapsing SOLR-236

2010-06-17 Thread Rakhi Khatwani
get an error at run time saying some java class is missing. I haven't been able to figure out what to do after that. - moazzam http://moazzam-khan.com On Wed, Jun 16, 2010 at 3:37 AM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, I wanted to try out field

Re: Field Collapsing SOLR-236

2010-06-18 Thread Rakhi Khatwani
Hi Moazzam, Where did u get the src code from?? I am downloading it from https://svn.apache.org/repos/asf/lucene/solr/branches/branch-1.4 and the latest revision in this location is 955469. so applying the latest patch(dated 17th june 2010) on it still generates errors. Any

Re: Field Collapsing SOLR-236

2010-06-21 Thread Rakhi Khatwani
, Jun 18, 2010 at 6:14 PM, Martijn v Groningen martijn.is.h...@gmail.com wrote: Hi Rakhi, The patch is not compatible with 1.4. If you want to work with the trunk. I'll need to get the src from https://svn.apache.org/repos/asf/lucene/dev/trunk/ Martijn On 18 June 2010 13:46, Rakhi Khatwani

Alternative for field collapsing

2010-06-21 Thread Rakhi Khatwani
Hi, I have an index with the following fields: id (unique) title description price. Suppose i want to find unique documents and count of all documents with the same title, sorted on price. How do i go about it. Knowing that field collapsing is not stable with 1.4.

Re: Alternative for field collapsing

2010-06-22 Thread Rakhi Khatwani
Hi, I wanted to apply field collapsing on the title(type string). but want to show only one document (and the count of such documents) per title rather than show all the documents. Regards Raakhi On Tue, Jun 22, 2010 at 12:59 AM, Peter Karich peat...@yahoo.de wrote: Hi Raakhi,

Re: Alternative for field collapsing

2010-06-22 Thread Rakhi Khatwani
Thanks Peter :) On Tue, Jun 22, 2010 at 3:08 PM, Peter Karich peat...@yahoo.de wrote: ups, sorry. I meant Martijn! Not the germanized Martin :-/ Peter. Hi, I wanted to apply field collapsing on the title(type string). but want to show only one document (and the count of such

Re: Field Collapsing SOLR-236

2010-06-22 Thread Rakhi Khatwani
?? - Maybee http://wiki.apache.org/solr/Deduplication prevents from adding duplicates in you index, but then you miss the collapse counts and other computed values On 21 June 2010 09:04, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, Oh in that case is the code stable enough to use

Re: Field Collapsing SOLR-236

2010-06-23 Thread Rakhi Khatwani
it? On 22 June 2010 16:06, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, I tried checking out the latest code (rev 956715) the patch did not work on it. Infact i even tried hunting for the revision mentioned earlier in this thread (i.e. rev 955615) but cannot find it in the repository

Re: Field Collapsing SOLR-236

2010-06-23 Thread Rakhi Khatwani
Oops this is probably i didn't checkout the modules file from the trunk. doing that right now :) Regards Raakhi On Wed, Jun 23, 2010 at 1:12 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, Patching did work. but when i build the trunk, i get the following exception: [SolrTrunk

Re: Field Collapsing SOLR-236

2010-06-23 Thread Rakhi Khatwani
filter list seems to point to the config - you may want to correct. On Wed, Jun 23, 2010 at 3:09 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, I checked out modules lucene from the trunk. Performed a build using the following commands ant clean ant compile ant example

Unbuffered Exception while setting permissions

2010-06-30 Thread Rakhi Khatwani
Hi, I am trying out solr security on my setup from the following links: http://wiki.apache.org/solr/SolrSecurity http://www.lucidimagination.com/search/document/d1e338dc452db2e4/how_can_i_protect_the_solr_cores Following is my configuration: realms.properties: admin:

Re: Unbuffered Exception while setting permissions

2010-06-30 Thread Rakhi Khatwani
PS: I am using solr 1.4 Regards, Raakhi On Wed, Jun 30, 2010 at 12:05 PM, Rakhi Khatwani rkhatw...@gmail.comwrote: Hi, I am trying out solr security on my setup from the following links: http://wiki.apache.org/solr/SolrSecurity http://www.lucidimagination.com/search/document

Re: Unbuffered Exception while setting permissions

2010-06-30 Thread Rakhi Khatwani
Khatwani rkhatw...@gmail.comwrote: PS: I am using solr 1.4 Regards, Raakhi On Wed, Jun 30, 2010 at 12:05 PM, Rakhi Khatwani rkhatw...@gmail.comwrote: Hi, I am trying out solr security on my setup from the following links: http://wiki.apache.org/solr/SolrSecurity http

Re: Unbuffered Exception while setting permissions

2010-06-30 Thread Rakhi Khatwani
/update?qt=%2Fupdatecommit=truewt=javabinversion=1 HTTP/1.1 200 41 so what i conclude is that the authentication does not work when we do a POST method and works for GET methods. correct me if i am wrong. and how do i get it working? Regards, Raakhi On Wed, Jun 30, 2010 at 2:22 PM, Rakhi Khatwani

Re: Unbuffered Exception while setting permissions

2010-07-01 Thread Rakhi Khatwani
Hi Lance, Thankyou so much. It worked with pre-emptive authentication On Thu, Jul 1, 2010 at 2:15 AM, Lance Norskog goks...@gmail.com wrote: Other problems with this error have been solved by doing pre-emptive authentication. On Wed, Jun 30, 2010 at 4:26 AM, Rakhi Khatwani

Solr Cloud/ Solr integration with zookeeper

2010-07-01 Thread Rakhi Khatwani
Hi, I wanna use solr cloud. i downloaded the code from the trunk, and successfully executed the examples as shown in wiki. but when i try the same with multicore. i cannot access: http://localhost:8983/solr/collection1/admin/zookeeper.jsp it says page not found. Following is my

Re: Field Collapsing SOLR-236

2010-07-12 Thread Rakhi Khatwani
://wiki.apache.org/solr/FieldCollapsing HTH :) - Moazzam I'd give you the On Wed, Jun 23, 2010 at 7:23 AM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, But these is almost no settings in my config heres a snapshot of what i have in my solrconfig.xml config updateHandler class

Using solr response json

2010-08-05 Thread Rakhi Khatwani
Hi, i want to query solr and convert my response object to a json string using solrj when i query from my browser(with wt=json) i get the following result: { responseHeader:{ status:0, QTime:0}, response:{numFound:0,start:0,docs:[] }} At the moment i am using google-gson (a third party

Re: issue in adding data to a multivalued field

2009-10-09 Thread Rakhi Khatwani
Hi Koji, thanx a ton ... now it worked :) On Fri, Oct 9, 2009 at 6:02 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: Hi Rakhi, Use multiValued (capital V), not multivalued. :) Koji Rakhi Khatwani wrote: Hi, i have a small schema with some of the fields defined

Re: using regular expressions in solr query

2009-10-09 Thread Rakhi Khatwani
-Original Message- From: Rakhi Khatwani [mailto:rkhatw...@gmail.com] Sent: Tuesday, October 06, 2009 2:26 AM To: solr-user@lucene.apache.org Subject: using regular expressions in solr query Hi, i have an example in which i want to use a regular expression in my solr query: for example

Re: using regular expressions in solr query

2009-10-09 Thread Rakhi Khatwani
pointers? Regards, Raakhi On Fri, Oct 9, 2009 at 3:50 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, well i have a schema where i store a json string. consider a small example schema shown below: doc - arr name=buzz - str {word:words,baseWord:word,pos:noun,phrase:following are the list

weird behaviour while inserting records into solr

2009-10-25 Thread Rakhi Khatwani
Hi, i was trying to insert one million records in solr (keeping the id from 0 to 100). things were fine till it inserted (id = 523932). after that it started inserting it from 1 (i.e updating). i am not able to understand this behaviour. any pointers?? Regards, Raakhi

Re: weird behaviour while inserting records into solr

2009-11-03 Thread Rakhi Khatwani
HI, am inserting the records one by one. 1st i create a solr input document, add it into solr, perform a commit. i loop this entire process for a million times. Regards, Raakhi On Wed, Oct 28, 2009 at 1:45 AM, Grant Ingersoll gsing...@apache.orgwrote: On Oct 26, 2009, at 1:14 AM, Rakhi

Representing a complex schema in solr

2009-11-07 Thread Rakhi Khatwani
Hi, i have a complex schema as shown below: Book - Title - Category - Publication - Edition - Publish Date - Author (multivalued) = Author is a multivalued field containing the following attributes. - Name - Age - Location

Solr Queries

2009-11-12 Thread Rakhi Khatwani
Hi, I am using solr 1.3 and i hv inserted some data in my comment field. for example: for document1: str name=comment The iPhone 3GS finally adds common cell phone features like multimedia messaging, video recording, and voice dialing. It runs faster; its promised battery life is longer;

Re: Solr Queries

2009-11-12 Thread Rakhi Khatwani
Hi, Sorry i forgot to mention that comment field is a text field. Regards, Raakhi On Thu, Nov 12, 2009 at 8:05 PM, Grant Ingersoll gsing...@apache.orgwrote: On Nov 12, 2009, at 8:55 AM, Rakhi Khatwani wrote: Hi, I am using solr 1.3 and i hv inserted some data in my comment

locks in solr

2009-11-25 Thread Rakhi Khatwani
Hi, Is there any article which explains the locks in solr?? there is some info on solrconfig.txt which says that you can set the lock type to none(NoLockFactory), single(SingleInstanceLockFactory), NativeFSLockFactory and simple(SimpleFSLockFactory) which locks everytime we create a new

Converting java date to solr date and querying dates

2009-12-06 Thread Rakhi Khatwani
Hi, i am using solrj i want to store dates into a date field called publish date in solr. how do we do it using solrj likewise how do we query from solr using java date? do we always have to convert it into UTC field and then query it? How do i query solr for documents

Solr Queries

2009-12-16 Thread Rakhi Khatwani
Hi, Suppose i have a content field of type text. an example on content field is as shown below: After frustrated waiting period to get my credit card from the ICICI Bank, today I decided to write them a online petition stating my problem... Below is the unedited version of letter I sent to

Starting Jetty Server using JettySolrRunner

2010-01-27 Thread Rakhi Khatwani
Hi, I am trying 2 run a solr server using JettySolrRunner, however i keep gettin the following exception: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/home/ithurs/shellworkspace/SolrPOC at

Upgrading from solr1.3 to solr1.4

2010-02-16 Thread Rakhi Khatwani
Hi, i have indexed some data on solr 1.3.0. Now i wanna upgrade to solr 1.4.0 but on the same data. so here are the following steps i performed: 1. extract solr 1.4.0 2. copied the conf and data folder of my index from solr 1.3.0/examples/multicore to solr1.4.0/examples/multicore/ 3.

Re: Upgrading from solr1.3 to solr1.4

2010-02-16 Thread Rakhi Khatwani
Hi, Solr home: 1.3.0/examples/multicore Type of Queries: Recursive e.g. I search in the index for some name that returns some rows. For each row there is a field called parentid which is a unique key for some other row in the index. The next queries search the index for the parentid . This

Want to create custom inputformat to read from solr

2010-02-24 Thread Rakhi Khatwani
Hi, Has anyone tried creating customInputFormat which reads from solrIndex for processing using mapreduce??? is it possible doin tht?? and how? Regards, Raakhi

solr distributed search example - exception

2009-06-08 Thread Rakhi Khatwani
Hi, I was executing a simple example which demonstrates DistributedSearch. example provided in the following link: http://wiki.apache.org/solr/DistributedSearch however, when i startup the server in both port nos: 8983 and 7574, i get the following exception: SEVERE: Could not start

Re: solr distributed search example - exception

2009-06-08 Thread Rakhi Khatwani
an Object based on the XPathConstant passed. There does not appear to be a value that would return an ArrayList. Using XPathConstants.NODESET gets you a NodeList according to the XPath API. I'm not sure what could cause this to happen. - Mark Rakhi Khatwani wrote: Hi, I was executing

Re: solr distributed search example - exception

2009-06-09 Thread Rakhi Khatwani
Hi Mark, i actually got this error coz i was using an old version of java. now the problem is solved Thanks anyways Raakhi On Tue, Jun 9, 2009 at 11:17 AM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi Mark, yea i would like to open a JIRA issue for it. how do i go

solr in distributed mode

2009-06-09 Thread Rakhi Khatwani
Hi, I was looking for ways in which we can use solr in distributed mode. is there anyways we can use solr indexes across machines or by using Hadoop Distributed File System? Its has been mentioned in the wiki that When an index becomes too large to fit on a single system, or when a single

Re: solr in distributed mode

2009-06-11 Thread Rakhi Khatwani
, search for: distributed search Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Rakhi Khatwani rkhatw...@gmail.com To: solr-user@lucene.apache.org Cc: ninad.r...@germinait.com; ranjit.n...@germinait.com; saurabh.maha...@germinait.com

Few Queries regarding indexes in Solr

2009-06-16 Thread Rakhi Khatwani
Hi, 1. Is it possible to query from another index folder (say index1) in solr? 2. Is it possible to query 2 indexes(folders index1 and index2) stored in the same machine using the same port on a single solr instance? 3. consider a case: i have indexes in 2 shards, and

Re: Distributed querying using solr multicore.

2009-06-18 Thread Rakhi Khatwani
On Thu, Jun 18, 2009 at 3:51 PM, Michael Ludwig m...@as-guides.com wrote: Rakhi Khatwani schrieb: [...] how do we do a distributed search across multicores?? is it just like how we query using multiple shards? I don't know how we're supposed to use it. I did the following: http

Re: Distributed querying using solr multicore.

2009-06-18 Thread Rakhi Khatwani
Hi Michael, Sorry for the misinterpretation. in that case, its the same like querying multiple shards. :) Thanks, Raakhi On Thu, Jun 18, 2009 at 4:09 PM, Michael Ludwig m...@as-guides.com wrote: Rakhi Khatwani schrieb: On Thu, Jun 18, 2009 at 3:51 PM, Michael Ludwig m

java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList in solr

2009-06-30 Thread Rakhi Khatwani
Hi, I am integrating solr with hadoop. so i wrote a map reduce method which writes the indexes in HDFS. the map methods work fine, and in my reduce method, i call solrServer to update the indexes, but when i try accessing solrServer, i get the following exception java.lang.ClassCastException:

Re: java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList in solr

2009-06-30 Thread Rakhi Khatwani
Hi Noble, i am using solr 1.3 Regards, Raakhi 2009/6/30 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com which version of solr are you using? 2009/6/30 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: use the XMLResponseParser

Adding shards entries in solrconfig.xml

2009-07-02 Thread Rakhi Khatwani
Hi, I read the following article: http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr its mentioned that its much easier to set the shards parameter for your SearchHandler in solrcofig.xml. i also went through:

Tagging and searching on tagged indexes.

2009-07-07 Thread Rakhi Khatwani
Hi, How do we tag solr indexes and search on those indexes, there is not much information on wiki. all i could find is this: http://wiki.apache.org/solr/UserTagDesign has anyone tried it? (using solr API) One more question, can we change the schema dynamically at runtime? (while solr

Behaviour when we get more than 1 million hits

2009-07-13 Thread Rakhi Khatwani
Hi, If while using Solr, what would the behaviour be like if we perform the search and we get more than one million hits Regards, Raakhi

Re: Behaviour when we get more than 1 million hits

2009-07-22 Thread Rakhi Khatwani
with the results. You really need togive us some more details on what you want to *do* with 1,000,000 hits before any meaningful response is possible. Best Erick On Mon, Jul 13, 2009 at 8:47 AM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, If while using Solr, what would the behaviour

solr reporting tool adapter

2009-10-06 Thread Rakhi Khatwani
Hi, i wanted to query solr and send the output some reporting tool. has anyone done something like that? moreover, which reporting filter is good?? ny suggesstions? Regards, Raakhi

Re: solr reporting tool adapter

2009-10-07 Thread Rakhi Khatwani
we basically wanna generate PDF reports which contain, tag clouds, bar charts, pie charts etc. Regards, Raakhi On Wed, Oct 7, 2009 at 1:28 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Tue, Oct 6, 2009 at 1:09 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: Hi, i wanted

Re: solr reporting tool adapter

2009-10-08 Thread Rakhi Khatwani
and there is a book about it. On 10/7/09, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Oct 7, 2009 at 2:51 PM, Rakhi Khatwani rkhatw...@gmail.com wrote: we basically wanna generate PDF reports which contain, tag clouds, bar charts, pie charts etc. Faceting on a field

issue in adding data to a multivalued field

2009-10-08 Thread Rakhi Khatwani
Hi, i have a small schema with some of the fields defined as: field name=id type=string indexed=true stored=true multiValued=false required=true/ field name=content type=text indexed=true stored=true multivalued=false / field name=author_name type=text indexed=true stored=false