Re: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-20 Thread Ninad Raut
Hi, Also the collapsing feature doesn't give the count of number of records returned (grouped by a field value). It gives the count of the hits for the query. This is really not useful when it comes to pagination. Is there a way, at least in collapsing, wherein I can get the count of actual

Handling Pagination when using the collapsing feature

2010-07-20 Thread Ninad Raut
Hi, The current collapsing feature gives the count of the hits for a query. What collapsing actually is supposed to do is return the count of records returned grouped on a particular field. Pagination with total number of hits is not possible. Is there a work around in collapsing which will do

Re: Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-19 Thread Ninad Raut
Hi, I would like get the total count of the facet.field response values: i.e. if my response id lst name=manu int name=Canon USA17/int int name=Olympus12/int int name=Sony12/int int name=Panasonic9/int int name=Nikon4/int /lst I would like

Finding distinct unique IDs in documents returned by fq -- Urgent Help Req

2010-07-16 Thread Ninad Raut
Hi, I have a scenario in which I have to find count of distinct unique IDs present in a field (rootId field in my case) for a particular query. I require this for pagination purpose. Is there a way in Solr to do something like this we do in SQL: select count(distinct(rootId)) from table where

Regarding Facet Date query using SolrJ -- Not getting any examples to start with.

2010-06-02 Thread Ninad Raut
Hi, I want to hit the query given below : ?q=*:*facet=truefacet.date=pubfacet.date.start=2000-01-01T00:00:00Zfacet.date.end=2010-01-01T00:00:00Zfacet.date.gap=%2B1YEAR using SolrJ. I am browsing the net but not getting any clues about how should I approach it. How can SolJ API be used to

Re: Regarding Facet Date query using SolrJ -- Not getting any examples to start with.

2010-06-02 Thread Ninad Raut
) ... etc. Geert-Jan 2010/6/2 Ninad Raut hbase.user.ni...@gmail.com Hi, I want to hit the query given below : ?q=*:*facet=truefacet.date=pubfacet.date.start=2000-01-01T00:00:00Zfacet.date.end=2010-01-01T00:00:00Zfacet.date.gap=%2B1YEAR using SolrJ. I am browsing the net

Restricting the values returned by Facet Fields using Filter Query

2010-05-31 Thread Ninad Raut
Hi, Is it possible to restrict the values returned by Facet Fields using Filter Queries to Group on only those documents will pass the filter query passed in filter criteria?? I am under the assumption that fq is disjoint from facet.field function. Let me know if my assumptions are right or

Re: Restricting the values returned by Facet Fields using Filter Query

2010-05-31 Thread Ninad Raut
erik.hatc...@gmail.com wrote: Maybe what you're looking for is facet.mincount=1 ? Erik On May 31, 2010, at 6:01 AM, Ninad Raut wrote: Hi, Is it possible to restrict the values returned by Facet Fields using Filter Queries to Group on only those documents will pass the filter query passed

Tagging Facet Queries -- Urgent Help Required

2010-05-28 Thread Ninad Raut
Hi All, I have a use case where I have to tag facet queries. Here is the code snippet for what I tried: query.addFilterQuery({!tag=NE}med:Blog AND slev:neutral); query.addFacetQuery({!tag=NE key=BLOG}med:Blog AND slev:neutral); query.addFilterQuery({!tag=P}med:Review AND slev:neutral);

Re: Tagging Facet Queries -- Urgent Help Required

2010-05-28 Thread Ninad Raut
, and by default faceting is based off the search results. Use excl to have facets count outside the actual constrained search results. Erik On May 28, 2010, at 4:17 AM, Ninad Raut wrote: Hi All, I have a use case where I have to tag facet queries. Here is the code snippet for what I

Tag Cloud Generation Problem

2010-04-08 Thread Ninad Raut
Hi, I have a business use case where in I have to generate a tagcloud for words with freequency greater than a specified threshold. The way I store records in solr is : For every solr document (which includes content) I store mutlivalued entry of buzzwords with their frequency. The technical

Re: Tag Cloud Generation Problem

2010-04-08 Thread Ninad Raut
this job. On Thursday 08 April 2010 10:16:09 Ninad Raut wrote: Hi, I have a business use case where in I have to generate a tagcloud for words with freequency greater than a specified threshold. The way I store records in solr is : For every solr document (which includes content

Re: Tag Cloud Generation Problem

2010-04-08 Thread Ninad Raut
cloud generation) but doesn't return the documents themselves. Check the facetting wiki [1] for more information. [1]: http://wiki.apache.org/solr/SimpleFacetParameters Cheers On Thursday 08 April 2010 10:47:19 Ninad Raut wrote: Hi Markus, But the problem is, we donot know

Finding near duplicates which searching Documents

2009-09-23 Thread Ninad Raut
Hi, When we have news content crawled we face a problme of same content being repeated in many documents. We want to add a near duplicate document filter to detect such documents. Is there a way to do that in SOLR? Regards, Ninad Raut.

Re: Finding near duplicates which searching Documents

2009-09-23 Thread Ninad Raut
Is this feature included in SOLR 1.4?? On Wed, Sep 23, 2009 at 3:29 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Sep 23, 2009 at 3:14 PM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi, When we have news content crawled we face a problme of same content being

MultiCore Queries? are they possible

2009-08-18 Thread Ninad Raut
Hi, Can we create a Join query between two indexes on two cores? Is this possible in Solr? I have a index which stores author profiles and other index which stores content and a author id as a reference. Can I query as select Content,AuthorName from Core0,Core1 where core0.authorid =

Proximity Search

2009-08-18 Thread Ninad Raut
Hi, I want to count the words between two significant words like shell and petroleum. Or want to write a query to find all the documents where the content has shell and petroleum in close proximity of less than 10 words between them. Can such quries be created in Solr? Regards, Ninad Raut.

Re: A Buzzword Problem!!!

2009-08-15 Thread Ninad Raut
. On Fri, Aug 14, 2009 at 11:48 PM, Grant Ingersoll gsing...@apache.orgwrote: Do you need to know, when you match which type of word it was, or do you just need to know if there was a match? On Aug 14, 2009, at 5:17 AM, Ninad Raut wrote: Hi, I have a scenario in which I need to store Buzz words

Re: Choosing between t and s field types

2009-08-15 Thread Ninad Raut
, 2009 at 1:39 PM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi Constantijn, What are the t types viz;tint,tfloat etc. for? Is there a special use of these? On Fri, Aug 14, 2009 at 4:37 PM, Constantijn Visinescu baeli...@gmail.comwrote: Accoridng

Whats the maximum limit for Dynamic Fields?

2009-08-15 Thread Ninad Raut
Hi, I want to know whats the maximum limit to how many dynamic fields could be stored per document. Thanks, Ninad.

Choosing between t and s field types

2009-08-14 Thread Ninad Raut
Hi, I want certain fields of type int,float and date to be sortable and I should be able to run my range queries as well as facet queries on those fields. Now as far as I know sint,sfloat fieldtypes make the fields sortable and tint,tfloat,tdate allow range queries on the fields. I want both

A Buzzword Problem!!!

2009-08-14 Thread Ninad Raut
Hi, I have a scenario in which I need to store Buzz words and their frequency in a particular document. Also along with the buzzwords I have possible basewords, portar words associated with the buzzwords. Buzzword,Baseword,Portar word all need to be searchable. How can I use dynamic fields and my

Re: Choosing between t and s field types

2009-08-14 Thread Ninad Raut
=solr.SortableIntField sortMissingLast=true omitNorms=true/ On Fri, Aug 14, 2009 at 11:08 AM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi, I want certain fields of type int,float and date to be sortable and I should be able to run my range queries as well as facet queries on those fields. Now

Re: Choosing between t and s field types

2009-08-14 Thread Ninad Raut
or they were manually defined. Can you post your schema.xml entries for tint? (along with any comments it might have?) Constantijn On Fri, Aug 14, 2009 at 1:39 PM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi Constantijn, What are the t types viz;tint,tfloat etc

Re: Querying Dynamic Fields.. simple query not working

2009-08-11 Thread Ninad Raut
Object-SolrInputDocument is not yet for supported for dynamic fields Cheers Avlesh On Tue, Aug 11, 2009 at 10:45 AM, Ninad Raut hbase.user.ni...@gmail.com wrote: This is the POJO field mapping: @Field(*_ne) MapString,String ne = new HashMapString,String(); this is how I set

Re: storing key,value pair in Solr document

2009-08-10 Thread Ninad Raut
insights. Cheers Avlesh On Mon, Aug 10, 2009 at 10:58 AM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi, I have a Entitiy and a Value associated with it. I want to store this value as a key,value pair in Solr. I have a Java Object which I am mapping to Solr Doc using

Multiple Unique Ids

2009-08-10 Thread Ninad Raut
Hi, I have two Ids DocumentId and AuthorId. I want both of them unique. Can i have two uniqueKey in my document? uniqueKeyid/uniqueKey uniqueKeyauthorId/uniqueKey Regards, Ninad Raut

Pojo not getting added to Solr Index

2009-08-10 Thread Ninad Raut
I am not getting any excpetion, but the document is not getting added to Solr. Here is the code: public class ClientSearch { public SolrServer getSolrServer() throws MalformedURLException{ //the instance can be reused return new CommonsHttpSolrServer(http://germinait22:8983/solr/core0/;); }

Re: Pojo not getting added to Solr Index

2009-08-10 Thread Ninad Raut
the SolrServer. PS: I am damn sure that you don't intend to create a new instance of CommonsHttpSolrServer everytime. Cheers Avlesh On Mon, Aug 10, 2009 at 5:55 PM, Ninad Raut hbase.user.ni...@gmail.com wrote: I am not getting any excpetion, but the document is not getting added to Solr

Querying Dynamic Fields.. simple query not working

2009-08-10 Thread Ninad Raut
Hi, when I do a *:* query I can see the dynamic field as show below: str name=ne_.*{Germinait=0.7}/str but when I try to query for the same like ne_Germinait:0.7 I get zero records. All the other field which are not dynamic can be easily queried. Can some one please tell me how to query for

Re: Querying Dynamic Fields.. simple query not working

2009-08-10 Thread Ninad Raut
am afraid that you might be using the field in an incorrect way. Can you share the field definition please? And a peek into how are you populating these fields? Cheers Avlesh On Tue, Aug 11, 2009 at 10:29 AM, Ninad Raut hbase.user.ni...@gmail.com wrote: Hi, when I do a *:* query I can

Re: Querying Dynamic Fields.. simple query not working

2009-08-10 Thread Ninad Raut
update requests. I don't think it works in the way you have used it :( Noble, can you please confirm this? If my guess turns out to be true, lets open a JIRA issue asap. Cheers Avlesh On Tue, Aug 11, 2009 at 10:45 AM, Ninad Raut hbase.user.ni...@gmail.com wrote: This is the POJO field

storing key,value pair in Solr document

2009-08-09 Thread Ninad Raut
Hi, I have a Entitiy and a Value associated with it. I want to store this value as a key,value pair in Solr. I have a Java Object which I am mapping to Solr Doc using org.apache.solr.client.solrj.beans.Field . Can I also store a Map? and how can I do so? This is how I want it to be done: @Field

Documentation for Master-Slave Replication missing for Solr1.3. No mirror site for Solr 1.4 distribution.

2009-08-07 Thread Ninad Raut
Hi, I want to know how to setup master-slave configuration for Solr 1.3 . I can't get documentation on the net. I found one for 1.4 but not for 1.3 . ReplicationHandler is not present in 1.3. Also, I would like to know from will I get the Solr 14. distribution. The Solr Site lists mirrors only

Re: Documentation for Master-Slave Replication missing for Solr1.3. No mirror site for Solr 1.4 distribution.

2009-08-07 Thread Ninad Raut
Hi Noble, can these builds be used in production environment? Are they stable? we are not going live now, but in a few months we will. as such when will 1.4 be officially released? 2009/8/7 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com 1.4 is not released yet. you can grab a nightly from

Solr 1.4 in Production Environment-- Is it stable?

2009-08-07 Thread Ninad Raut
Hi, Has anyone used Solr 1.4 in production? There are some really nice features in it like - Directly adding POJOs to Solr - ReplicationHandler etc. Is 1.4 stable enought to be used in production?

Transfer of Index Vs HTTP GET Vs Embedded Solr -- Urgent Help

2009-08-06 Thread Ninad Raut
some code to transfer the index - Need to double my effort to update,merge,optimize index 2)Use HTTP GET - Will increase load on the Solr server - No extra code needed for transfer 3) Embedded Serach - Use SolrJ for querying I want to know which is the best approach. Regards, Ninad

Importing Existing Non-SOLR Lucene Indexes into Solr

2009-08-06 Thread Ninad Raut
Hi, Is there a way to import existing Lucene Indexes to SOLR?? I have a huge lucene index which I want to import into SOLR server. Regards, Ninad Raut.

Re: Importing Existing Non-SOLR Lucene Indexes into Solr

2009-08-06 Thread Ninad Raut
PM, Ninad Rauthbase.user.ni...@gmail.com wrote: Hi, Is there a way to import existing Lucene Indexes to SOLR?? I have a huge lucene index which I want to import into SOLR server. Regards, Ninad Raut. -- - Noble Paul | Principal

Re: Importing Existing Non-SOLR Lucene Indexes into Solr

2009-08-06 Thread Ninad Raut
a huge lucene index which I want to import into SOLR server. Regards, Ninad Raut. -- - Mark http://www.lucidimagination.com -- - Noble Paul | Principal Engineer| AOL | http://aol.com

Re: Transfer of Index Vs HTTP GET Vs Embedded Solr -- Urgent Help

2009-08-06 Thread Ninad Raut
for transfer This by far is the best solution. ecause you do not have to do any work at all. It all works out of the box and that is what everyone uses 3) Embedded Serach - Use SolrJ for querying I want to know which is the best approach. Regards, Ninad Raut

Re: Transfer of Index Vs HTTP GET Vs Embedded Solr -- Urgent Help

2009-08-06 Thread Ninad Raut
remote? If the indexes are big, then copying them to a remote location is a lot of traffic. wunder On Aug 6, 2009, at 8:49 PM, Ninad Raut wrote: Hi Noble, Can you explain a bit more on how to use Solr out of the box. I am looking at ways to design the UI for remote application quickly

Re: Transfer of Index Vs HTTP GET Vs Embedded Solr -- Urgent Help

2009-08-06 Thread Ninad Raut
location is a lot of traffic. wunder On Aug 6, 2009, at 8:49 PM, Ninad Raut wrote: Hi Noble, Can you explain a bit more on how to use Solr out of the box. I am looking at ways to design the UI for remote application quickly and with less problems. Also could you elaborate

Re: Facet

2009-07-23 Thread Ninad Raut
Try out this with SolrJ SolrQuery query = new SolrQuery(); query.setQuery(q); // query.setQueryType(dismax); query.setFacet(true); query.addFacetField(id); query.addFacetField(text); query.setFacetMinCount(2); On Thu, Jul 23, 2009 at 5:12 PM, Nishant Chandra