RE: :intersection of two hits objects:

2006-01-18 Thread Ravi
Hi Erik Can u please tell me how to use this query in loop because he can refine the search n number of time so how to maintain all the queries in QueryFilter and use of them , Please help me I need very urgent. Thanks Ravi Kumar Jaladanki -Original Message- From: Erik Hatcher [mai

RE: :intersection of two hits objects:

2006-01-18 Thread Chris Hostetter
The first thing you need to keep in mind, is that a Hits object doesn't "contain" results. The Hits class is provided as a convincent way to access results in order, that provides some prefecthing of ids/scores, and caching of doc stored fields. Iterating over an entire Hits object is *never* a

Re: :intersection of two hits objects:

2006-01-18 Thread Daniel Noll
Ravi wrote: Thanks for your help , I am able to get the record numbers in BitSet object but how to iterate in the first hits1 object with the bitset object and retain only those documents which contains ids existed in bitset object.. Ah. I take it that you want the results as another Hits

RE: :intersection of two hits objects:

2006-01-18 Thread Ravi
Thanks for your help , I am able to get the record numbers in BitSet object but how to iterate in the first hits1 object with the bitset object and retain only those documents which contains ids existed in bitset object.. Thanks Ravi Kumar jaladanki -Original Message- From: Dave Kor [m

" Lock obtain timed out" Exception when doing incremental indexing

2006-01-18 Thread Xin Herbert Wu
I kept getting this exception when adding a new document to an existing index: 22:19:10,281 INFO [STDOUT] java.io.IOException: Lock obtain timed out: [EMAIL PROTECTED]:\DOCUME~1\xin\LOCALS~ 1\Temp\lucene-31c482aaf5f581ad3dc0249eeeb8d281-write.lock (Stack trace is like: 22:19:10,312 INFO

Re: Use the lucene for searching in the Semantic Web.

2006-01-18 Thread xing jiang
Hi, I have done some surveys about the information retrieval on the Semantic Web, (maybe i miss many papers, most papers i used are published in recent WWW and CIKM conferences, :). 1. A typical way of using the ontology is to select exact term from the domain ontology to form queries. The first

Re: :intersection of two hits objects:

2006-01-18 Thread Dave Kor
On 1/18/06, Ravi <[EMAIL PROTECTED]> wrote: > Hi > > I want to find out the intersection of two hits objects please help me > > Hits hits1 = Searcher.searh(strQuery1); > Hits hits2 = Searcher.searh(strQuery2); > > Now In hits1 contains records numbers 3,4 ,5,6 and >Hits2 contains records n

Re: Use the lucene for searching in the Semantic Web.

2006-01-18 Thread Erik Hatcher
On Jan 17, 2006, at 12:25 PM, jason wrote: I think the Kowari is a system for searching information in the RDF files. It is only for finding information in the meta data files. However, i think one problem of the Semantic Web is that, if we have a document and its RDF annotate, how do we re

Re: Use the lucene for searching in the Semantic Web.

2006-01-18 Thread adasal
Presumably because this is the way of formulating an inductive statement. Just entering key words doesn't introduce the notion of a relationship between some known and some other unknown terms. > Queries match graph patterns against the target graph of the query. From http://www.w3.org/TR/2004/W

Re: :intersection of two hits objects:

2006-01-18 Thread Ronnie Kolehmainen
Why not storing the query instead of the Hits object? Then you can add the stored query to the new query with a BooleanQuery. /Ronnie Ravi wrote: Thanks But I will get these Hits objects in two cases. First I will search and store it in temp location and next time I search I get the new hi

RE: :intersection of two hits objects:

2006-01-18 Thread Ravi
Thanks But I will get these Hits objects in two cases. First I will search and store it in temp location and next time I search I get the new hits object . now I need to get the intersection Thanks Ravi Kumar Jaladanki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

:Highlighting the Specific Filed:

2006-01-18 Thread Ravi
Hi, I want to highlight the specific field which I have added to document. For ex I have added two fileds one is "Contens" and second one is "Skills" So I want highlight Skills which I have added as Filed.Keyword("Skills","Java, oracle") Please help me I have tried o

Re: :intersection of two hits objects:

2006-01-18 Thread mdissel
Why not combine the two searches with an AND operator (search 1) AND (search2) Regards Marco Ravi <[EMAIL PROTECTED]> schrijft: > Hi > > > > > > I want to find out the intersection of two hits objects please help me > > > > > > Hits hits1 = Searcher.searh(strQuery1); > >

RE: :intersection of two hits objects:

2006-01-18 Thread Aigner, Thomas
I'm still a bit new to Lucene, but the way I think you can handle it is using a Boolean query. //Create a bool Query BooleanQuery boolQuery = new BooleanQuery(); Loop through each query and add it to the boolQuery //Addend the boolean queries together Using the And syntax boolQuery.add(queryX, t

Re: :intersection of two hits objects:

2006-01-18 Thread Erik Hatcher
On Jan 18, 2006, at 8:20 AM, Ravi wrote: I want to find out the intersection of two hits objects please help me Hits hits1 = Searcher.searh(strQuery1); Hits hits2 = Searcher.searh(strQuery2); Now In hits1 contains records numbers 3,4 ,5,6 and Hits2 contains records number

:intersection of two hits objects:

2006-01-18 Thread Ravi
Hi I want to find out the intersection of two hits objects please help me Hits hits1 = Searcher.searh(strQuery1); Hits hits2 = Searcher.searh(strQuery2); Now In hits1 contains records numbers 3,4 ,5,6 and Hits2 contains records numbers 3,6,8,9 Now I need a solutio

Re: SoundEx

2006-01-18 Thread Erik Hatcher
On Jan 18, 2006, at 4:20 AM, Christian Reuschling wrote: yes, look at the 'contributions' link at the lucene-homepage. The 'Phonetix'-project provides an implementation for soudex, metaphor and double-metaphor. Simply use their analyzer. I am not sure what the behaviour is in the case of wildcar

Help on Similarity class

2006-01-18 Thread Marco Dissel
Hello I'm using Lucene for searching in a CRM application. For example when searching for a company name i want to show similair company names: search for: "Microsoft International" would return (in this order): -microsoft international -microsoft benelux -microsoft Currently it would also return

Re: SoundEx

2006-01-18 Thread Christian Reuschling
yes, look at the 'contributions' link at the lucene-homepage. The 'Phonetix'-project provides an implementation for soudex, metaphor and double-metaphor. Simply use their analyzer. I am not sure what the behaviour is in the case of wildcards. Have anyone an answer? regards Christian Steven Pan

Re: SoundEx

2006-01-18 Thread Erik Hatcher
On Jan 18, 2006, at 3:26 AM, Steven Pannell wrote: Does anyone know if there is a SoundEx analyzer implementation available for lucene??? There is a Metaphone filter and some sample analyzers that use it in the Lucene in Action codebase. I toyed with various ones from Jakarta Commons Co

SoundEx

2006-01-18 Thread Steven Pannell
Hi, Does anyone know if there is a SoundEx analyzer implementation available for lucene??? thanks. Steve, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]