Re: Faceted search not working?
Sascha thanks for the response, here is the output... ?xml version=1.0 encoding=UTF-8? response lst name=responseHeader int name=status0/int int name=QTime0/int lst name=params str name=wtxml/str str name=qtitle:*/str str name=fltitle/str /lst /lst result name=response numFound=3 start=0 doc str name=titleBaseball game/str /doc doc str name=titleSoccer game/str /doc doc str name=titleFootball game/str /doc /result /response On Mon, May 24, 2010 at 5:39 PM, Sascha Szott sz...@zib.de wrote: Hi Ilya, Ilya Sterin wrote: I'm trying to perform a faceted search without any luck. Result set doesn't return any facet information... http://localhost:8080/solr/select/?q=title:*facet=onfacet.field=title I'm getting the result set, but no face information present? Is there something else that needs to happen to turn faceting on? No. What does http://localhost:8080/solr/select/?q=title:*fl=titlewt=xml return? -Sascha
Re: Faceted search not working? (RESOLVED)
Ah, the issue was explicitly specifying components... arr name=components strquery/str /arr I don't remember changing this during default install, commenting this out enabled faceted search component. Thanks all for the help. Ilya On Tue, May 25, 2010 at 10:38 AM, Sascha Szott sz...@zib.de wrote: Hi, please note, that the FacetComponent is one of the six search components that are automatically associated with solr.SearchHandler (this holds also for the QueryComponent). Another note: By using name=components all default components will be replaced by the components you explicitly mentioned (i.e., QueryComponent and FacetComponent in your example). To avoid this, use name=last-components instead. -Sascha Jean-Sebastien Vachon wrote: Is the FacetComponent loaded at all? requestHandler name=standard class=solr.SearchHandler default=true arr name=components strquery/str strfacet/str /arr /requestHandler On 2010-05-25, at 3:32 AM, Sascha Szott wrote: Hi Birger, Birger Lie wrote: I don't think the bolean fields is mapped to on and off :) You can use true and on interchangeably. -Sascha -birger -Original Message- From: Ilya Sterin [mailto:ster...@gmail.com] Sent: 24. mai 2010 23:11 To: solr-user@lucene.apache.org Subject: Faceted search not working? I'm trying to perform a faceted search without any luck. Result set doesn't return any facet information... http://localhost:8080/solr/select/?q=title:*facet=onfacet.field=title I'm getting the result set, but no face information present? Is there something else that needs to happen to turn faceting on? I'm using latest Solr 1.4 release. Data is indexed from the database using dataimporter. Thanks. Ilya Sterin
Faceted search not working?
I'm trying to perform a faceted search without any luck. Result set doesn't return any facet information... http://localhost:8080/solr/select/?q=title:*facet=onfacet.field=title I'm getting the result set, but no face information present? Is there something else that needs to happen to turn faceting on? I'm using latest Solr 1.4 release. Data is indexed from the database using dataimporter. Thanks. Ilya Sterin
Cartesian tiers with DataImportHandler
I'm using solr 1.4 and need to utilize a geospatial extension (spatial solr). In order to do that, the indexed document must have cartesian tier information appended. These are not specific to spatial solr, as solr and lucene local require the same I believe. I'm currently using DataImportHandler to index database contained in a SQL database. The lat/lng radians coordinates are contained in there as well. I'd like to know if there is a way for me to dynamically generate that information with my current setup. All examples/information I've seen generate these fields through the API vs. declaratively. Wondering if there is some way to dynamically generate fields during the import process and/or some other declarative configuration. Thanks in advance. Ilya Sterin
Re: Cartesian tiers with DataImportHandler
Actually, it's working now. I needed to add a dynamic field to the config... dynamicField name=_tier_* type=string indexed=true stored=true/ I guess importer plugin does automatically add tier fields, but they needed to be configured as dynamic fields. Ilya On Sat, May 22, 2010 at 6:05 PM, Ilya Sterin ster...@gmail.com wrote: I'm using solr 1.4 and need to utilize a geospatial extension (spatial solr). In order to do that, the indexed document must have cartesian tier information appended. These are not specific to spatial solr, as solr and lucene local require the same I believe. I'm currently using DataImportHandler to index database contained in a SQL database. The lat/lng radians coordinates are contained in there as well. I'd like to know if there is a way for me to dynamically generate that information with my current setup. All examples/information I've seen generate these fields through the API vs. declaratively. Wondering if there is some way to dynamically generate fields during the import process and/or some other declarative configuration. Thanks in advance. Ilya Sterin