Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
That worked. Thanks :-) On Fri, May 20, 2011 at 2:53 PM, Tor Henning Ueland wrote: > On Fri, May 20, 2011 at 6:52 PM, Dhanushka Samarakoon > wrote: > > What this returns me is a set of results which has both the keywords > > in fKeyword. Instead I need all the records that h

Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
Hi All, I'm running the following query. http://localhost:8983/solr/select/?q=green&version=2.2&indent=on&qt=dismax&; fq=fKeyword:"NITROGEN"&fq=fKeyword:"corn" &facet=on&facet.mincount=1&facet.field=fKeyword What this returns me is a set of results which has both the keywords in fKeyword. Instea

Stemming issue on spell correction and auto complete

2010-04-21 Thread Dhanushka Samarakoon
Hi, I have some issues with stemming on spell corrections and auto completes. Given below is a sample record from my docs. K-82 22570 Extension IPM Coordination Program US Department of Agriculture 2009-06-11T00:00:00Z 180 Extension Integrated Management Coordination Program Agronomy Entomolo

Re: Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
betic Research Institute" > from the fSponsor facet I will apply filter querying to both the > fDepartmentName and fSponsor. > > Hope this helps. > > Regards, > Indika > > > On 29 March 2010 21:19, Dhanushka Samarakoon wrote: > >> Hi, >> >> I'm

Re: Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
hitespace > > Tommy Chheng > Programmer and UC Irvine Graduate Student > Twitter @tommychheng > http://tommy.chheng.com > > > > On 3/29/10 8:49 AM, Dhanushka Samarakoon wrote: > >> Hi, >> >> I'm trying to perform a search based on keywords and th

Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
Hi, I'm trying to perform a search based on keywords and then reduce the result set based on facets that user selects. First query for a search would look like this. http://localhost:8983/solr/select/?q=cancer+stem&version=2.2&wt=php&start=&rows=10&indent=on&qt=dismax&facet=on&facet.mincount=1&fa

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
That worked !!! Thanks a lot. I was following a tutorial from a blog and just copy-pasted the line to the schema.xml and and just changed the field names. I would have never figured it out if it wasn't for your help :-) Although I'm surprised why solr didn't gave me an error on that schema file.

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Yes, I restarted the solr engine and re-indexed the data. On Mon, Mar 15, 2010 at 3:20 PM, Ahmet Arslan wrote: > > > http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName > > > > Result - > > > > > > > > 0 > > 14 > >

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
URL - http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName Result - 0 14 fInvestigatorName fInvestigatorName:[* TO *] fInvestigatorName true On Mon, Mar 15, 2010 at 2:53 PM, Ahmet Arslan wrote: > > Still

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Still no luck. Is there anything else that I need to change? On Mon, Mar 15, 2010 at 2:11 PM, Ahmet Arslan wrote: > > I'm trying the create a facet on a field with full names in > > it. > > When I specified it like this > > "facet=on&facet.field=InvestigatorName" in the > > url I got the first a

Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Hi, I'm trying the create a facet on a field with full names in it. When I specified it like this "facet=on&facet.field=InvestigatorName" in the url I got the first and last names as separate fields in the facets. 11 3 3 ... Then I changed the schema.xml as follows. and restarted solr and r

Re: Setting the return query fields

2010-03-02 Thread Dhanushka Samarakoon
Thanks for the reply. Is there a place in the config file where I can set it to explicitly search the fields I want? On Tue, Mar 2, 2010 at 3:17 PM, Ahmet Arslan wrote: > > > Hi, > > I would like to solr to return to record from > > /exampledocs/hd.xml when I > > search for the value "6H500F0" (

Setting the return query fields

2010-03-02 Thread Dhanushka Samarakoon
Hi, I would like to solr to return to record from /exampledocs/hd.xml when I search for the value "6H500F0" (which is the ID field for the 2'nd record in that file). I know there is a setting that I should change to get this done, but I can't locate it. Field name ID is alread included in schema.xm