Re: solrJ and spell check queries

2010-01-03 Thread Jay Fisher
Thank you. That did it. ~ Jay On Sun, Jan 3, 2010 at 7:21 AM, Sascha Szott wrote: > Hi, > > > Jay Fisher wrote: > >> I'm trying to find a way to formulate the following query in solrJ. This >> is >> the only way I can get the desired result but I can&

solrJ and spell check queries

2010-01-02 Thread Jay Fisher
I'm trying to find a way to formulate the following query in solrJ. This is the only way I can get the desired result but I can't figure out how to get solrJ to generate the same query string. It always generates a url that starts with select and I need it to start with spell. If there is an altern

Re: Correct syntax for solrJ filter queries

2009-12-30 Thread Jay Fisher
Thanks! That did it. ~ Jay On Wed, Dec 30, 2009 at 9:58 PM, Erik Hatcher wrote: > Use query.addFacetQuery(str) instead. > >Erik > > > On Dec 30, 2009, at 10:16 PM, Jay Fisher wrote: > > I'm using solrJ to construct a query and it works just fine un

Correct syntax for solrJ filter queries

2009-12-30 Thread Jay Fisher
I'm using solrJ to construct a query and it works just fine until I add the following. query.setFilterQueries("price:[*+TO+500]", "price:[500+TO+*]"); That generates this error Caused by: org.apache.solr.common.SolrException: Bad Request Bad Request request: http://balboa:8085/apache-solr

Re: Problem with simple use of DIH

2009-12-27 Thread Jay Fisher
I did run it without debug and the result was that 0 documents were processed. The problem seems to be with the tags that I was using to map from the table column names to the schema.xml field names. I switched to using an AS clause in the SQL statement instead and it worked. I think the column

Problem with simple use of DIH

2009-12-26 Thread Jay Fisher
I'm trying to use DataImportHandler to load my index and having some strange results. I have two tables in my database. DPRODUC contains products and FSKUMAS contains the skus related to each product. This is the data-config I'm using.