Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Jeryl Cook
i see, ..would be nice to build component within the code.. programmatically...rather than as a component to add to the configuration file..but i will read the docs on how to do this. thanks On Thu, Oct 2, 2008 at 2:37 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > On Oct 2, 2008, at 2:24 PM,

Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Ryan McKinley
On Oct 2, 2008, at 2:24 PM, Jeryl Cook wrote: I don't have issues adding a filter query to a "SolrQuery"... i guess ill look at the source code, i just need to pass the a custom Filter object at runtime before i execute a search using the SolrServer.. currently this is all i can do the below w

Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Jeryl Cook
I don't have issues adding a filter query to a "SolrQuery"... i guess ill look at the source code, i just need to pass the a custom Filter object at runtime before i execute a search using the SolrServer.. currently this is all i can do the below with SOLR... SolrServer.query(customScoreQuery);

Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Ryan McKinley
what about: SolrQuery query = ...; query.addFilterQuery( "type:xxx" ); On Oct 2, 2008, at 1:23 PM, Jeryl Cook wrote: i can execute what i want simply with using lucene directly Hits hits = searcher.search(customScoreQuery, myQuery.getFilter()); howerver, i can't find the right Clas