lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Che Dong" <ched...@hotmail.com>
Subject Re: Bitset Filters
Date Tue, 31 Dec 2002 07:23:06 GMT
I wrote a StringFilter for exactly match and prefix match field filter
http://www.chedong.com/tech/lucene_ext.tar.gz

Che, Dong
----- Original Message ----- 
From: "Terry Steichen" <terry@net-frame.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Saturday, October 26, 2002 6:08 AM
Subject: Bitset Filters


> Peter,
> 
> Could you give, or point to, a couple of examples on how to use bitset
> filters in the way you describe below?
> 
> Regards,
> 
> Terry
> 
> ----- Original Message -----
> From: "Peter Carlson" <carlson@bookandhammer.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Tuesday, October 22, 2002 11:26 PM
> Subject: Re: Need Help URGENT
> 
> 
> > I think the answer is yes.
> >
> > When creating a Lucene Document you can create a field which is the URL
> > field. If you are not searching for words within the field, I would
> > probably make it a keyword field type so you don't tokenize it into
> > multiple Terms.
> >
> > Then you can great a multi-field search.
> >
> >
> > url:www.apache.org AND lucene
> >
> > Where url is the field where the URL exists and the term you want to
> > search for in your default field is Lucene.
> >
> > To answer what I think your second question is I will restate the
> > question.
> >
> > Can Lucene support subsearching.
> > Well yes and no. I will answer how to accomplish this, there is also
> > some information in the FAQ about this.
> >
> > You can just add criteria to the search so
> >
> > url:www.apache.org AND lucene AND indexing
> >
> > This will return the subset of information.
> >
> > If you are going to do the same search over and over again, you may
> > also want to look at filters, which basically keep a bitset of a Lucene
> > search results so you don't actually have to do the search again, just
> > an intersection of two bitsets.
> >
> > When you get the Hits back you can get the information from what ever
> > field you want including the URL field that you will create.
> >
> > I hope this helps and is on the mark. If not, the answer in can you use
> > Lucene to accomplish the task the answer is typically yes (The
> > questions then become just how much work has to be done on top of
> > Lucene, or is Lucene the right tool).
> >
> > --Peter
> >
> >
> >
> > On Tuesday, October 22, 2002, at 04:32 PM, nandkumar rayanker wrote:
> >
> > > Hi,
> > >
> > > Forther to the request already made in my previous
> > > mail I would like to know:
> > >
> > > - Whether I can use lucene to search the remote site
> > > or not?
> > >
> > > Here is what I wnt to do.
> > > -Install Licene and search and create search info for
> > > a given URL.
> > >
> > > -Search the info from search info already created .
> > >
> > > Can do this sort of things using Lucene or not?
> > >
> > > thanks and regards
> > > Nandkumar
> > >
> > > --- nandkumar rayanker <nrayenker@sbcglobal.net>
> > > wrote:
> > >> Hi,
> > >>
> > >> I need to develop search java stand alone
> > >> application,
> > >> which takes "SearchString" and "URL/URLS"
> > >>
> > >> "SearchString": string to be searched in web
> > >>
> > >> URL/URLS" : List of URLs where string needs to
> > >> searched.
> > >> return: List of URL/URLS where "SearchString" is
> > >> found.
> > >>
> > >> thanks & regards
> > >> Nandkumar
> > >>
> > >> --
> > >> To unsubscribe, e-mail:
> > >> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > >> For additional commands, e-mail:
> > >> <mailto:lucene-user-help@jakarta.apache.org>
> > >>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:lucene-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
> 
Mime
View raw message