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 Ahmet Arslan
> numFound="0" means all documents have empty field > fInvestigatorName. Did you re-start tomcat and re-index, > after making fInvestigatorName multi-valued? I just realized that there is a typo in your copy field declaration. It should be copy*F*ield with capital F.

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 Ahmet Arslan
> http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName > > Result - > > > > 0 > 14 > > name="facet.field">fInvestigatorName > fInvestigatorName:[* TO *] > fInvestigatorName > true > > > > > > > > > > > nu

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 Ahmet Arslan
> Still no luck. Is there anything else > that I need to change? Thats strange. Whats the output of this: q=fInvestigatorName:[* TO *]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName

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

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
> 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. > in

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