lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Railan Xisto <railan.xi...@gmail.com>
Subject Re: Removing terms in the Index
Date Mon, 12 Apr 2010 11:09:09 GMT
Ok. There is a piece of code attached.. As I already said, I want to pass
that when the term "Lucene in Action" he finds only the 1st sentence.




2010/4/10 Shai Erera <serera@gmail.com>

> Hi. I'm not sure I understand what you searched for. When you search
> for "Lucene in action", do you search it with the quotes or not? If
> with the quotes, then I don't understand how the 2nd dox is found.
>
> Do you perhaps have a test code you can share w/ us? It can be a short
> and simple main which creates an index w/ some documents and then
> searches them.
>
> Shai
>
> On Saturday, April 10, 2010, Fotos fotos <railan.xisto@gmail.com> wrote:
> > Hello!
> > I am a beginner with Lucene. I'm needing to do the following:
> >
> > I have a text file with the following terms:
> >
> > "Lucene in action"
> > "Lucene"
> >
> > and a file with the following sentences:
> >
> > 1 - "Lucene in action now."
> > 2 - "Lucene for Dummies"
> > 3 - "Managing Gigabytes"
> >
> > I need to search in phrases of doc2, the terms of doc1.
> >
> > But in search of the word n-grama: "Lucene in Action", he also finds the
> 2nd
> > sentence.
> >
> > In this case, I want to meet with the term 1 ("Lucene in Action"), only
> the
> > first phrase and remove the term of the index, for not to be found when I
> > pass the term 2 ("Lucene")
> >
> > Railan Xisto
> > Web Developer
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
View raw message