Re: AW: get terms by positions

2006-10-03 Thread Grant Ingersoll
th Lucene. Renzo -Ursprüngliche Nachricht- Von: Nicolas Lalevée [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3. Oktober 2006 00:04 An: java-user@lucene.apache.org Betreff: Re: get terms by positions Le Lundi 02 Octobre 2006 23:06, Renzo Scheffer a écrit : Hi, can anybody be so kind

Re: AW: get terms by positions

2006-10-03 Thread Nicolas Lalevée
gt; Gesendet: Dienstag, 3. Oktober 2006 00:04 > An: java-user@lucene.apache.org > Betreff: Re: get terms by positions > > Le Lundi 02 Octobre 2006 23:06, Renzo Scheffer a écrit : > > Hi, > > > > > > > > can anybody be so kind to tell me if it is possible to s

Re: AW: get terms by positions

2006-10-03 Thread Grant Ingersoll
4 An: java-user@lucene.apache.org Betreff: Re: get terms by positions Le Lundi 02 Octobre 2006 23:06, Renzo Scheffer a écrit : Hi, can anybody be so kind to tell me if it is possible to search a Term by its position? I search a term (for excample "soccer") and get back the DocI

AW: get terms by positions

2006-10-03 Thread Renzo Scheffer
t and first I'll try to find out if it is possible to do something like that with Lucene. Renzo -Ursprüngliche Nachricht- Von: Nicolas Lalevée [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3. Oktober 2006 00:04 An: java-user@lucene.apache.org Betreff: Re: get terms by positions L

Re: get terms by positions

2006-10-02 Thread Catalin Mititelu
From: NicolasLalevée <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, October 3, 2006 1:04:20 AM Subject: Re: get terms by positions Le Lundi 02 Octobre 2006 23:06, Renzo Scheffer a écrit : > Hi, > > > > can anybody be so kind to tell me if it is possible to

Re: get terms by positions

2006-10-02 Thread Doron Cohen
You can store TermVectors with position info, but I don't think this would be enough for what you are asking, because it is not meant for direct access to a term by its position, and because TermVectors store tokens, i.e. the "indexed" form of the word, which I am not sure is what you need. It see

Re: get terms by positions

2006-10-02 Thread Nicolas Lalevée
Le Lundi 02 Octobre 2006 23:06, Renzo Scheffer a écrit : > Hi, > > > > can anybody be so kind to tell me if it is possible to search a Term by its > position? > > > > I search a term (for excample "soccer") and get back the DocId's and > positions as follows: > > > > > > TermPositions termPos = rea

get terms by positions

2006-10-02 Thread Renzo Scheffer
Hi, can anybody be so kind to tell me if it is possible to search a Term by its position? I search a term (for excample "soccer") and get back the DocId's and positions as follows: TermPositions termPos = reader.termPositions(new Term("contents","soccer")); while(termPos.next()){ i