How to filter search based on file path

2005-06-27 Thread kambiz Afkhamian
Hi I've indexed my website from the application root. When I run a query, it beasically searches all content below the application root folder. I would like to create feature that would allow users to search specific folder/paths of this website. (i.e I would like to limit my query search

RE: How to filter search based on file path

2005-06-27 Thread Tony Schwartz
] Sent: Monday, June 27, 2005 5:32 PM To: java-user@lucene.apache.org Subject: How to filter search based on file path Hi I've indexed my website from the application root. When I run a query, it beasically searches all content below the application root folder. I would like to create feature

Re: filter search

2005-04-05 Thread Chris Hostetter
: : 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

filter search

2005-04-04 Thread Omar Didi
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

Re: filter search

2005-04-04 Thread Otis Gospodnetic
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