Re: using boolean operators with different fields for querying

2009-04-24 Thread Rakesh Sinha
On Fri, Apr 24, 2009 at 11:51 AM, Shalin Shekhar Mangar wrote: > On Fri, Apr 24, 2009 at 9:08 PM, Rakesh Sinha wrote: > >>  How do I specify boolean operators on a given field to search with >> the 'q' parameter. >> >> For a given index - I have a differen

using boolean operators with different fields for querying

2009-04-24 Thread Rakesh Sinha
How do I specify boolean operators on a given field to search with the 'q' parameter. For a given index - I have a different documents , document 1 with a field course:"Applied Statistics" document 2 with a field course: "Applied Probability" document 3 with a field course:"Discrete math" I ne

maxBooleanClauses implications of a high number ?

2009-04-20 Thread Rakesh Sinha
I am configuring solr locally for our apps and for some of our apps - we need to configure maxBooleanQueries in the solr configuration. Right now - we had set it to 8K ( as opposed to the default of 1K) . Our dataset document size is about 500K . We have about 6G of ram (totally) - so ignoring the

dual of method - CommonsHttpSolrServer(url) to close and destroy underlying httpclient connection

2009-04-17 Thread Rakesh Sinha
When we instantiate a commonshttpsolrserver - we use the following method. CommonsHttpSolrServerserver = new CommonsHttpSolrServer(this.endPoint); how do we do we a 'kill all' of all the underlying httpclient connections ? server.getHttpClient() returns a HttpClient reference, but I am tryi

Multiple Core schemas with single solr.solr.home

2009-04-04 Thread Rakesh Sinha
I am planning to configure a solr server with multiple cores with different schema for themselves with a single solr.solr.home . Are there any examples in the wiki to the wiki ( the ones that I see have a single schema.xml for a given solr.solr.home under schema directory. ). Thanks for helping po

Re: Type of object to go into NamedList as part of SearchComponent#process(ResponseBuilder rb)

2009-03-08 Thread Rakesh Sinha
rote: > On Sun, Mar 8, 2009 at 5:34 AM, Rakesh Sinha wrote: > >> >> client: >> >> QueryResponse rsp = commonsHttpSolrServer.query( mySolrQuery); >> MySerializableType obj  = rsp.getResponse().get("myresult"); >> >> I was curious if

DocSet implementation for around 300K documents - clarification regarding the memory size

2009-03-08 Thread Rakesh Sinha
I have a much smaller document set of 300 K documents that I am talking about. I have some pre-defined queries (totally around 10K ) that I want to implement as facets on the resultset of a given query and return the top N (say 100) of the same. I was planning to pre-compute the DocSet results fo

Type of object to go into NamedList as part of SearchComponent#process(ResponseBuilder rb)

2009-03-07 Thread Rakesh Sinha
I am developing this system in which I adding custom SearchComponents (last-components) after all the post-processing of the query. server: --- MyComponent extends SearchComponent : @Override public void process(ResponseBuilder rb) { MySerializableType obj = new MySerializableType();

Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Rakesh Sinha
I am in the process of porting a Lucene code to Solr. I checked the wiki at - http://wiki.apache.org/solr/SchemaXml for the common porting instructions. But I have a specific query with respect the following line of code, about creating a field / fieldType in Solr Lucene: return new Field(St

DataImportHandler full-import: SolrException: Document [null] missing required field: id

2008-12-29 Thread Rakesh Sinha
Hi - My dataconfig.xml looks as follows. When I do a full-import with this revised schema ( where the primary key of the table is not id , but user_id ), I am getting the following error. WARNING: Error creating document : SolrInpu

Re: DataImportHandler - The field :xyz present in DataConfig does not have a counterpart in Solr Schema

2008-12-29 Thread Rakesh Sinha
dynamic field naming conventions fixed the issue. On Mon, Dec 29, 2008 at 1:36 PM, Rakesh Sinha wrote: > Hi - > I am testing around with the full - import functionality of Data > Import Handler. My dataconfig file looks as follows. > > > >user="us

DataImportHandler - The field :xyz present in DataConfig does not have a counterpart in Solr Schema

2008-12-29 Thread Rakesh Sinha
Hi - I am testing around with the full - import functionality of Data Import Handler. My dataconfig file looks as follows. In solrconfig.xml - I am setting the access for DIH as follows. data-config.xml

Re: Solr 1.3 DataImportHandler iBatis integration ..

2008-12-12 Thread Rakesh Sinha
I seem to re-entering the db authentication details and the query once again to use the same. Hence an orthogonal integration might be really useful. On Fri, Dec 12, 2008 at 3:11 PM, Shalin Shekhar Mangar wrote: > On Fri, Dec 12, 2008 at 11:50 PM, Rakesh Sinha wrote: > >> Hi

Solr 1.3 DataImportHandler iBatis integration ..

2008-12-12 Thread Rakesh Sinha
Hi - I was planning to check more details about integrating ibatis query resultsets with the query required for tags . Before I start experimenting more along the lines - I am just curious if there had been some effort done earlier on this end (specifically - how to better integrate DataImport

Re: Solr 1.3 - DataInputHandler DIH integration

2008-12-12 Thread Rakesh Sinha
/ExtractingRequestHandler.java contrib/extraction/src/main/java/org/apache/solr/handler/SolrContentHandlerFactory.java contrib/extraction/src/test/java/org/apache/solr/handler/ExtractingRequestHandlerTest.java On Fri, Dec 12, 2008 at 10:40 AM, Rakesh Sinha wrote: > [Changing subject accordin

Solr 1.3 - DataInputHandler DIH integration

2008-12-12 Thread Rakesh Sinha
find the same. On Thu, Dec 11, 2008 at 12:49 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: > On Wed, Dec 10, 2008 at 11:00 PM, Rakesh Sinha > wrote: >> Hi - >> I am a new user of Solr tool and came across the introductory >> tutorial here - http://lucene.apache.org/solr/

Solr Newbie question

2008-12-10 Thread Rakesh Sinha
Hi - I am a new user of Solr tool and came across the introductory tutorial here - http://lucene.apache.org/solr/tutorial.html . I am planning to use Solr in one of my projects . I see that the tutorial mentions about a REST api / interface to add documents and to query the same. I would like