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);

i need a method that would accept this:
searcher.search(customScoreQuery, myfilter ); , like i am able todo
using lucene searcher.



On Thu, Oct 2, 2008 at 1:43 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> 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 Class , or method in the API to do
>> this for SOLR  the searcher
>> I am using the SOLRServer(Embeded version) to execute the .query...
>>
>>
>> QueryResponse queryResponse = SolrServer.query(customScoreQuery);
>> //will work, BUT I NEED to use the filter as well...
>>
>>
>> Thanks
>>
>>
>> --
>> Jeryl Cook
>> /^\ Pharaoh /^\
>> http://pharaohofkush.blogspot.com/
>> "Whether we bring our enemies to justice, or bring justice to our
>> enemies, justice will be done."
>> --George W. Bush, Address to a Joint Session of Congress and the
>> American People, September 20, 2001
>
>



-- 
Jeryl Cook
/^\ Pharaoh /^\
http://pharaohofkush.blogspot.com/
"Whether we bring our enemies to justice, or bring justice to our
enemies, justice will be done."
--George W. Bush, Address to a Joint Session of Congress and the
American People, September 20, 2001

Reply via email to