Hi Omar,

You could iterate through hits (results), pulling out a document at a
time and checking the appropriate field (e.g.
field.endsWithIgnoreCase(".com") )

Otis

--- Omar Didi <[EMAIL PROTECTED]> wrote:
> hi guys,
> 
> is it possible to filter the hits returned from a certain query?. for
> example if I have a search like this:
>       Query searchQuery = queryParser.parse( query );
>       Hits  results = m_searcher.search( searchQuery );
> is there a way to use the results and find out how many of the
> returned documents their url ends with com, and how many ends with
> net and so on... without the need to form a new query?.
> thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to