Ignore This Test Message

2011-06-03 Thread Jasneet Sabharwal

Hey Guys

Just a test mail, please ignore this.

--
Thanx  Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation



Facet Query

2011-05-27 Thread Jasneet Sabharwal

Hi

When I do a facet query on my data, it shows me a list of all the words 
present in my database with their count. Is it possible to not get the 
results of common words like a, an, the, http and so one but only get 
the count of stuff we need like microsoft, ipad, solr, etc.


--
Thanx  Regards

Jasneet Sabharwal



Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal
I have been doing that, but I want to set it as False by default, so 
that even if the admin forgets to set clean=false in the URL, it doesn't 
do it on its own.

On 16-05-2011 17:38, Gora Mohanty wrote:

On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
jasneet.sabhar...@ngicorporation.com  wrote:

Hi

Where do I set the default value of clean = false when a full-import is
done.

Append it to the URL, e.g., dataimport?command=full-importclean=false

Regards,
Gora



--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal

Stefan,

I have added the DIH request handler in the solrconfig.xml. Do I have to 
add the clean=false in that or somewhere else ?


Regards
Jasneet
On 16-05-2011 18:03, Stefan Matheis wrote:

Jasneet,

what about defining the value as a default in the dataimport
request-handler? like the sample at
http://wiki.apache.org/solr/SolrRequestHandler does?

Regards
Stefan

On Mon, May 16, 2011 at 2:10 PM, Jasneet Sabharwal
jasneet.sabhar...@ngicorporation.com  wrote:

I have been doing that, but I want to set it as False by default, so that
even if the admin forgets to set clean=false in the URL, it doesn't do it on
its own.
On 16-05-2011 17:38, Gora Mohanty wrote:

On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
jasneet.sabhar...@ngicorporation.comwrote:

Hi

Where do I set the default value of clean = false when a full-import is
done.

Append it to the URL, e.g., dataimport?command=full-importclean=false

Regards,
Gora


--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582





--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal

Stefan

requestHandler name=/dataimport 
class=org.apache.solr.handler.dataimport.DataImportHandler

lst name=defaults
str 
name=config/home/jasneet/apache-solr-3.1.0/example/solr/conf/data-config.xml/str

str name=cleanfalse/str
/lst
/requestHandler

Should it be like this ?
On 16-05-2011 18:48, Stefan Matheis wrote:

Jasneet

On Mon, May 16, 2011 at 3:10 PM, Jasneet Sabharwal
jasneet.sabhar...@ngicorporation.com  wrote:

I have added the DIH request handler in the solrconfig.xml.

Exactly there :)

Regards
Stefan



--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Facet Count Based on Dates

2011-05-13 Thread Jasneet Sabharwal

Hey Otis,

FieldCollapsing is again a feature of Solr 4.0, anything possible using 
the default feature of Solr 3.1. Btw, how can I apply these patches on 
Solr 3.1 ?

On 13-05-2011 12:10, Otis Gospodnetic wrote:

Jasneet,

Like in http://wiki.apache.org/solr/FieldCollapsing ?

Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



- Original Message 

From: Jasneet Sabharwaljasneet.sabhar...@ngicorporation.com
To: solr-user@lucene.apache.org
Sent: Thu, May 12, 2011 10:14:46 AM
Subject: Re: Facet Count Based on Dates

Or is it possible to use a Group By query in Solr 3.1 like we do in SQL ?
On  12-05-2011 19:37, Jasneet Sabharwal wrote:

Is it possible to use the  features of 3.1 by default for my query ?
On 12-05-2011 13:38, Grijesh  wrote:

You can apply patch for Hierarchical faceting on Solr  3.1

-
Thanx:
  Grijesh
www.gettinhahead.co.in
-- View this message in  context:

http://lucene.472066.n3.nabble.com/Facet-Count-Based-on-Dates-tp2922371p2930924.html


  Sent from the Solr - User mailing list archive at Nabble.com.





-- Regards

Jasneet Sabharwal
Software  Developer
NextGen Invent Corporation
+91-9871228582





--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Facet Count Based on Dates

2011-05-12 Thread Jasneet Sabharwal
But Pivot Faceting is a feature of Solr 4.0 and I am using 3.1 as that 
is a stable built and cant use a a Nightly Build.


The question was: -

I have a schema which has field Polarity which is of type text and it 
can have three values 0,1 or -1 and CreatedAt which is of type date.


*How can I get count of polarity based on dates. For example, it gives 
the output that on 5/1/2011 there were 10 counts of 0, 10 counts of 1 
and 10 counts of -1

*

If I use the facet query like this :-

http://localhost:8983/solor/select/?q=*:*facet=truefacet.field=Polarity

Then I get the count of the complete database

lstname=Polarity
intname=0531477/int
intname=1530682/int
/lst

The query : 
http://localhost:8983/solr/select/?q=*:*%20AND%20CreatedAt:[2011-03-10T00:00:00Z%20TO%202011-03-18T23:59:59Z]facet=truefacet.date=CreatedAtfacet.date.start=2011-03-10T00:00:00Zfacet.date.end=2011-03-18T23:59:59Zfacet.date.gap=%2B1DAY 
http://ec2-50-16-100-114.compute-1.amazonaws.com:8983/solr/select/?q=TweetData:*%20AND%20CreatedAt:[2011-03-10T00:00:00Z%20TO%202011-03-18T23:59:59Z]facet=truefacet.date=CreatedAtfacet.date.start=2011-03-10T00:00:00Zfacet.date.end=2011-03-18T23:59:59Zfacet.date.gap=%2B1DAY


Would give me the count of data per day, like this:

lstname=CreatedAt
intname=2011-03-10T00:00:00Z0/int
intname=2011-03-11T00:00:00Z276262/int
intname=2011-03-12T00:00:00Z183929/int
intname=2011-03-13T00:00:00Z196853/int
intname=2011-03-14T00:00:00Z2967/int
intname=2011-03-15T00:00:00Z22762/int
intname=2011-03-16T00:00:00Z11299/int
intname=2011-03-17T00:00:00Z37433/int
intname=2011-03-18T00:00:00Z14359/int
strname=gap+1DAY/str
datename=start2011-03-10T00:00:00Z/date
datename=end2011-03-19T00:00:00Z/date
/lst

How will I be able to get the Polarity count for each date like:-

2011-03-10T00:00:00Z
Polarity
0 = 100
1 = 500
-1 = 200
2011-03-11T00:00:00Z
Polarity
0=100
1=500
-1=200

And so on till the date range ends.


On 10-05-2011 15:51, Grijesh wrote:

Have you looked at Pivot Faceting
http://wiki.apache.org/solr/HierarchicalFaceting
http://wiki.apache.org/solr/SimpleFacetParameters#Pivot_.28ie_Decision_Tree.29_Faceting-1

-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Facet-Count-Based-on-Dates-tp2922371p2922541.html
Sent from the Solr - User mailing list archive at Nabble.com.




--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Facet Count Based on Dates

2011-05-12 Thread Jasneet Sabharwal

Is it possible to use the features of 3.1 by default for my query ?
On 12-05-2011 13:38, Grijesh wrote:

You can apply patch for Hierarchical faceting on Solr 3.1

-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Facet-Count-Based-on-Dates-tp2922371p2930924.html
Sent from the Solr - User mailing list archive at Nabble.com.




--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Facet Count Based on Dates

2011-05-12 Thread Jasneet Sabharwal

Or is it possible to use a Group By query in Solr 3.1 like we do in SQL ?
On 12-05-2011 19:37, Jasneet Sabharwal wrote:

Is it possible to use the features of 3.1 by default for my query ?
On 12-05-2011 13:38, Grijesh wrote:

You can apply patch for Hierarchical faceting on Solr 3.1

-
Thanx:
Grijesh
www.gettinhahead.co.in
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Facet-Count-Based-on-Dates-tp2922371p2930924.html

Sent from the Solr - User mailing list archive at Nabble.com.







--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Frequency of words in index

2011-05-11 Thread Jasneet Sabharwal
I did a facet query on my data field and it showed a list of words with 
their count but it miss lot of words in facet count.


The query used was :-

http://localhost:8983/solr/select/?q=*:*facet=truefacet.field=Data

How can I get the count of each word in my index and one more question 
is it possible to only get the count of words which are not used in 
normal daily sentences like I, is, the, a, etc.


--
Regards

Jasneet Sabharwal



Facet Count Based on Dates

2011-05-10 Thread Jasneet Sabharwal
I have a schema which has field Polarity which is of type text and it 
can have three values 0,1 or -1 and CreatedAt which is of type date.


*How can I get count of polarity based on dates. For example, it gives 
the output that on 5/1/2011 there were 10 counts of 0, 10 counts of 1 
and 10 counts of -1

*

If I use the facet query like this :-

http://localhost:8983/solor/select/?q=*:*facet=truefacet.field=Polarity

Then I get the count of the complete database

lstname=Polarity
intname=0531477/int
intname=1530682/int
/lst

The query : 
http://localhost:8983/solr/select/?q=*:*%20AND%20CreatedAt:[2011-03-10T00:00:00Z%20TO%202011-03-18T23:59:59Z]facet=truefacet.date=CreatedAtfacet.date.start=2011-03-10T00:00:00Zfacet.date.end=2011-03-18T23:59:59Zfacet.date.gap=%2B1DAY 
http://ec2-50-16-100-114.compute-1.amazonaws.com:8983/solr/select/?q=TweetData:*%20AND%20CreatedAt:[2011-03-10T00:00:00Z%20TO%202011-03-18T23:59:59Z]facet=truefacet.date=CreatedAtfacet.date.start=2011-03-10T00:00:00Zfacet.date.end=2011-03-18T23:59:59Zfacet.date.gap=%2B1DAY


Would give me the count of data per day, like this:

lstname=CreatedAt
intname=2011-03-10T00:00:00Z0/int
intname=2011-03-11T00:00:00Z276262/int
intname=2011-03-12T00:00:00Z183929/int
intname=2011-03-13T00:00:00Z196853/int
intname=2011-03-14T00:00:00Z2967/int
intname=2011-03-15T00:00:00Z22762/int
intname=2011-03-16T00:00:00Z11299/int
intname=2011-03-17T00:00:00Z37433/int
intname=2011-03-18T00:00:00Z14359/int
strname=gap+1DAY/str
datename=start2011-03-10T00:00:00Z/date
datename=end2011-03-19T00:00:00Z/date
/lst

How will I be able to get the Polarity count for each date like:-

2011-03-10T00:00:00Z
Polarity
0 = 100
1 = 500
-1 = 200

--
Thanks  Regards

Jasneet Sabharwal



Re: Test Post

2011-05-10 Thread Jasneet Sabharwal

Hi Bob

I just joined Solr Mailing List and I can see your post :)

Hope your query get solved.

Regards
Jasneet Sabharwal
On 11-05-2011 01:59, Bob Sandiford wrote:


Hi, all.

Sorry for the 'spam' -- I'm just testing that my posts are actually 
being seen.  I've sent a few queries over the past couple of weeks and 
haven't had a single response L


Anyways -- if one or two would respond to this, I'd appreciate it -- 
just to let me know that I'm being ignored, vs unseen J



Thanks!

*Bob Sandiford *| Lead Software Engineer | SirsiDynix

P: 800.288.8020 X6943 | _Bob.Sandiford@sirsidynix.com_

www.sirsidynix.com http://www.sirsidynix.com/

*/Join the conversation - you may even get an iPad or Nook out of it!/*

**

Description: Description: Description: Description: Screen shot 
2011-04-28 at 3.32.20 PM.png http://www.facebook.com/SirsiDynix*Like 
us on Facebook!*


**

Description: Description: Description: Description: Screen shot 
2011-04-28 at 3.32.49 PM.png 
http://twitter.com/#%21/SirsiDynix*Follow us on Twitter!*





--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582