SOLR automatic failover with Zookeeper

2012-03-19 Thread Ankit Bhatnagar
Hi folks, Is there a way to configure Solr master -failure using Zookeoper?  Any experiences... Ankit

RE: Faceted search outofmemory

2010-06-29 Thread Ankit Bhatnagar
Did you trying paging them? -Original Message- From: olivier sallou [mailto:olivier.sal...@gmail.com] Sent: Tuesday, June 29, 2010 2:04 PM To: solr-user@lucene.apache.org Subject: Faceted search outofmemory Hi, I try to make a faceted search on a very large index (around 200GB with 200

RE: Sort facet Field by name

2010-06-21 Thread Ankit Bhatnagar
facet.sort=false http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort 2010/6/21 Ankit Bhatnagar > Hi All, > I couldn't really figure out if we a have option for sorting the facet > field by name in ascending/descending. > > Any clues? > > Thanks > Ankit >

Sort facet Field by name

2010-06-21 Thread Ankit Bhatnagar
Hi All, I couldn't really figure out if we a have option for sorting the facet field by name in ascending/descending. Any clues? Thanks Ankit

RE: Wildcars in Queries

2010-05-17 Thread Ankit Bhatnagar
Yes you can use. But be careful with such Queries like *ababa, (might will blow up) Also it depends on how you are anlysing the fields? Ankit -Original Message- From: Robert Naczinski [mailto:robert.naczin...@googlemail.com] Sent: Monday, May 17, 2010 5:22 AM To: solr-user@lucene.apach

RE: How to load Core Properties after Core creation?

2010-05-07 Thread Ankit Bhatnagar
What properties are you adding ? Do you have the persistence = true Ankit -Original Message- From: Ying Huang [mailto:yhu...@capitaliq.com] Sent: Thursday, May 06, 2010 6:33 PM To: solr-user@lucene.apache.org Subject: How to load Core Properties after Core creation? Hi All, Does anyo

RE: Solr date range problem - specific date problem

2010-04-29 Thread Ankit Bhatnagar
You should do this - http://localhost:8080/solr/select/?q=*:*&fq=pubdate:[2010-03-25T00:00:00Z %20TO%202010-03-25T23:59:59Z] Ankit -Original Message- From: Hamid Vahedi [mailto:hvb...@yahoo.com] Sent: Thursday, April 29, 2010 5:33 AM To: solr-user@lucene.apache.org Subject: Solr dat

RE: Reg: Indexing Date Fields

2010-04-15 Thread Ankit Bhatnagar
Hi Venkat, It depends on your use- case, but if want to query for time(with whatever granularity) then 'int' is good. However if you just wan to query for date range then [date1 TO date2] should be fine. Ankit -Original Message- From: Jean-Sebastien Vachon [mailto:js.vac...@videotron.

RE: solr numeric range queries

2010-04-14 Thread Ankit Bhatnagar
Hi Sandhya, On a different note - if you are using Solr1.4 or later, take a look at solr trie range support. http://www.lucidimagination.com/blog/2009/05/13/exploring-lucene-and-solrs-trierange-capabilities/ Ankit -Original Message- From: Sandhya Agarwal [mailto:sagar...@opentext.com

RE: Query time only Ranges

2010-04-01 Thread Ankit Bhatnagar
Hi Chris, Actually I needed time upto seconds granularity, so did you mean I should index the field after conversion into seconds Ankit -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Wednesday, March 31, 2010 10:05 PM To: solr-user@lucene.apache.org Sub

RE: Documents disappearing

2010-02-19 Thread Ankit Bhatnagar
Try inspecting your index with luke Ankit -Original Message- From: Pascal Dimassimo [mailto:thesuper...@hotmail.com] Sent: Friday, February 19, 2010 2:22 PM To: solr-user@lucene.apache.org Subject: Documents disappearing Hi, I have encounter a situation that I can't explain. We are

RE: query all filled field?

2010-02-04 Thread Ankit Bhatnagar
That's correct. If u want to find "Missing Values" ie fields for whom value is not present then u will use - Ankit -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Thursday, February 04, 2010 9:41 AM To: solr-user@lucene.apache.org Subject: RE: query all filled f

RE: weird text stripping issue

2010-01-28 Thread Ankit Bhatnagar
Check you analyzers Ankit -Original Message- From: javaxmlsoapdev [mailto:vika...@yahoo.com] Sent: Thursday, January 28, 2010 4:46 PM To: solr-user@lucene.apache.org Subject: weird text stripping issue I am observing very weird text stripping issue. when I search for word "Search" I

RE: Is there limit on size of query string?

2010-01-22 Thread Ankit Bhatnagar
Try using POST Ankit -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Friday, January 22, 2010 12:22 PM To: solr-user@lucene.apache.org Subject: Re: Is there limit on size of query string? On Fri, Jan 22, 2010 at 11:48 AM, Fuad Efend

Solr - data flattening

2010-01-17 Thread Ankit Bhatnagar
Hi guys, I have a Question regarding flattening of data for indexing. Scenario - We have tons of records however they come from disparate data sources. How to flatten data so as to retain the relationship? Thanks Ankit

RE: Unable to delete from index

2009-12-29 Thread Ankit Bhatnagar
28, 2009 11:32 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Here you go. Thanks for your help! Gio. -Original Message- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: Monday, December 28, 2009 10:09 PM To: 'solr-user@lucene.apache.org

RE: Unable to delete from index

2009-12-28 Thread Ankit Bhatnagar
Could you share both your solr.xml and solrconfig.xml Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:46 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Sorry - hit reply t

RE: Unable to delete from index

2009-12-28 Thread Ankit Bhatnagar
Are you deleting from correct index.[Meaning verify - Solr home] Also inspect thru luke to check the contents Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 4:28 PM To: solr-user@lucene.apache.org Subj

RE: Implementing Autocomplete/Query Suggest using Solr

2009-12-23 Thread Ankit Bhatnagar
In addition to what Shalin said, you could use the TermsComponent. However you will be better off using the Dismax request handler Ankit -Original Message- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Wednesday, December 23, 2009 2:49 AM To: solr-user@lucene.apache.

RE: Calculate term vector

2009-12-21 Thread Ankit Bhatnagar
What version of Solr are you using? Ankit -Original Message- From: Licinio Fernández Maurelo [mailto:licinio.fernan...@gmail.com] Sent: Monday, December 21, 2009 1:40 PM To: solr-user@lucene.apache.org Subject: Calculate term vector Hi folks, how can i get term vector from a custom sol

RE: Documents are indexed but not searchable

2009-12-21 Thread Ankit Bhatnagar
Try using luke - to view contents of index Ankit -Original Message- From: krosan [mailto:kro...@gmail.com] Sent: Monday, December 21, 2009 10:22 AM To: solr-user@lucene.apache.org Subject: Re: Documents are indexed but not searchable When searching for *:* I get this response: 0

RE: Simple Wildcard Search Question

2009-12-11 Thread Ankit Bhatnagar
Firstly wild card queries are not analysed by Solr. Also there is a difference between stored and indexed fields. Ankit -Original Message- From: QBasti [mailto:sebastian.f...@gmail.com] Sent: Friday, December 11, 2009 11:40 AM To: solr-user@lucene.apache.org Subject: Simple Wildcard Se

RE: How to Post Search Query

2009-11-10 Thread Ankit Bhatnagar
Hi Deepak, U can specify - METHOD.POST -Ankit -Original Message- From: deepak agrawal [mailto:dk.a...@gmail.com] Sent: Tuesday, November 10, 2009 3:08 PM To: solr-user@lucene.apache.org Subject: How to Post Search Query Hi All, My Solr Search query is too long so i am not able to put

RE: dismax + wildcard

2009-11-04 Thread Ankit Bhatnagar
Hi Jan, You could write a dismax request handler and then then in the query you could specify like - q=something&qt=dismaxhandler&fq=type:something This might help. Thanks -Ankit -Original Message- From: Jan Kammer [mailto:jan.kam...@mni.fh-giessen.de] Sent: Wednesday, Novembe

RE: Solr YUI autocomplete

2009-11-02 Thread Ankit Bhatnagar
helps. ANKITBHATNAGAR wrote: > > > Does Solr supports JSONP (JSON with Padding) in the response? > > -Ankit > > > > -----Original Message- > From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] > Sent: Friday, October 30, 2009 10:27 AM > To: 'so

RE: Solr YUI autocomplete

2009-11-02 Thread Ankit Bhatnagar
Y too. - Amit On Fri, Oct 30, 2009 at 7:04 AM, Ankit Bhatnagar wrote: > > Does Solr supports JSONP (JSON with Padding) in the response? > > -Ankit > > > > -Original Message- > From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] > Sent: Friday, October 30,

RE: autocomplete

2009-11-01 Thread Ankit Bhatnagar
rf=foo, as soon as the browser gets a response, it would call a function named foo (needs to already defined). Inside "foo" you can have you own implementation to interpret and render this data. Cheers Avlesh On Sat, Oct 31, 2009 at 12:13 AM, Ankit Bhatnagar wrote: > > Hi guys, &g

json.wrf parameter

2009-10-31 Thread Ankit Bhatnagar
Hi Yonik, I have a question regarding json.wrf parameter that you introduced in Solr query. I am using YUi Datasource widget and it accepts JSONP format. Could you tell me if I specify json.wrf in the query will solr return the response enclosed in () which is essentially JSONP format. As of

RE: can't find solr.xml

2009-10-30 Thread Ankit Bhatnagar
It should be in couple of places like - apache-solr-1.3\example\exampledocs etc -Ankit -Original Message- From: javaxmlsoapdev [mailto:vika...@yahoo.com] Sent: Friday, October 30, 2009 4:50 PM To: solr-user@lucene.apache.org Subject: can't find solr.xml I have downloaded apache-so

autocomplete

2009-10-30 Thread Ankit Bhatnagar
Hi guys, Enterprise 1.4 Solr Book (AutoComplete) says this works - My query looks like - "q=*:*&fq=ac:*all*&wt=json&rows=15&start=0&indent=on&omitHeader=true&json.wrf=?"; And it returns three results { "responseHeader":{ "status":0, "QTime":38, "params":{ "indent":"on",

Solr YUI autocomplete

2009-10-30 Thread Ankit Bhatnagar
Does Solr supports JSONP (JSON with Padding) in the response? -Ankit -Original Message- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: Friday, October 30, 2009 10:27 AM To: 'solr-user@lucene.apache.org' Subject: Solr YUI autocomplete Hi Guys, I have question

Solr YUI autocomplete

2009-10-30 Thread Ankit Bhatnagar
Hi Guys, I have question regarding - how to specify the I am using YUI autocomplete widget and it expects the JSONP response. http://localhost:8983/solr/select/?q=monitor&version=2.2&start=0&rows=10&indent=on&wt=json&json.wrf= I am not sure how should I specify the json.wrf=function Thanks An

RE: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Ankit Bhatnagar
Solrj1.4 supports QueryRequest#setMethod(SolrRequest.METHOD.POST) but Solrj1.3 does not. -Ankit From: Shalin Shekhar Mangar [shalinman...@gmail.com] Sent: Wednesday, October 14, 2009 11:08 AM To: solr-user@lucene.apache.org Subject: Re: POST queries to S

RE: UTF8 Problem with http request?

2009-08-14 Thread Ankit Bhatnagar
Cool :) -Original Message- From: gateway0 [mailto:reiterwo...@yahoo.de] Sent: Friday, August 14, 2009 4:52 PM To: solr-user@lucene.apache.org Subject: RE: UTF8 Problem with http request? Hi, thank you for your suggestions. I solved the problem now. It was the PHP function "strtolower

RE: UTF8 Problem with http request?

2009-08-14 Thread Ankit Bhatnagar
My final two-cents- although not sure - use - encodeURIComponent(data) while creating the query refer - http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp Ankit From: Ankit Bhatnagar [abhatna...@vantage.com] Sent: Friday, August 14, 2009 4:35

RE: UTF8 Problem with http request?

2009-08-14 Thread Ankit Bhatnagar
Or this // Setting the Content-Type header with charset header('Content-Type: text/html; charset=utf-8'); -Original Message- From: gateway0 [mailto:reiterwo...@yahoo.de] Sent: Friday, August 14, 2009 4:08 PM To: solr-user@lucene.apache.org Subject: RE: UTF8 Problem with http request? H

RE: UTF8 Problem with http request?

2009-08-14 Thread Ankit Bhatnagar
I guess in the header you could try setting the Charest something like this header('Content-Type: text/plain; charset=ISO-8859-1'); -Original Message- From: gateway0 [mailto:reiterwo...@yahoo.de] Sent: Friday, August 14, 2009 4:08 PM To: solr-user@lucene.apache.org Subject: RE: UTF8 Prob

RE: UTF8 Problem with http request?

2009-08-14 Thread Ankit Bhatnagar
Hey Sebastian, Did u try - 1; URLEncoder.encode(url, "UTF-8"); 2:if you application is Spring based-try this CharacterEncoding org.springframework.web.filter.CharacterEncodingFilter