Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 83096 invoked from network); 28 Oct 2002 13:38:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Oct 2002 13:38:54 -0000 Received: (qmail 25232 invoked by uid 97); 28 Oct 2002 13:38:19 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 25193 invoked by uid 97); 28 Oct 2002 13:38:18 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 25075 invoked by uid 98); 28 Oct 2002 13:38:15 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <080f01c27e86$e16c8c20$0201a8c0@netframe.com> From: "Terry Steichen" To: "Lucene Users List" References: <3742C166-EA35-11D6-BC4D-003065AB94BC@bookandhammer.com> Subject: Re: Bitset Filters Date: Mon, 28 Oct 2002 08:35:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The Javadocs don't say much. But thanks anyway. Terry ----- Original Message ----- From: "Peter Carlson" To: "Lucene Users List" Sent: Monday, October 28, 2002 12:22 AM Subject: Re: Bitset Filters > Check out the java docs on the Filter class. > > http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/ > Filter.html > > --Peter > > On Friday, October 25, 2002, at 03:08 PM, Terry Steichen wrote: > > > 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" > > To: "Lucene Users List" > > 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 > >>> 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: > >>>> > >>>> For additional commands, e-mail: > >>>> > >>>> > >>> > >>> > >>> -- > >>> To unsubscribe, e-mail: > >>> > >>> For additional commands, e-mail: > >>> > >>> > >>> > >> > >> > >> -- > >> To unsubscribe, e-mail: > > > >> For additional commands, e-mail: > > > >> > >> > > > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: