lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Martínez Zuñiga <>
Subject RE: Ambiguous name in text's term class (
Date Tue, 03 Jun 2008 20:04:48 GMT
Thank you Digy, I've changed "text" to internal and seems to work fine. The issue has been



-----Original Message-----
From: Digy [] 
Sent: Martes, 03 de Junio de 2008 02:40 p.m.
Subject: RE: Ambiguous name in text's term class (

You may be right(since I am not a vb programmer) but libraries like Lucene must be fully usable
from both case-sensitive and case-insensitive languages.
So, This case sould be handled by Lucene.Net


-----Original Message-----
From: Gautam Lad []
Sent: Tuesday, June 03, 2008 10:03 PM
Subject: Re: Ambiguous name in text's term class (

Try putting Square brackets around the variable.
  Dim strTermText As String = Terms.Term().[Text]

Enrique Martínez Zuñiga <> wrote:
      Hello all,
      I'm having trouble in the code below to get the terms' text due to ambiguous name in
VB.NET (case insensitive). To avoid this behavior I had to rename all the references of the
variable text in term.cs to _text.
      Dim idxReader As IndexReader = IndexReader.Open(strIdxFolder)
    Dim Terms As TermEnum = idxReader.Terms(New Term(strField, ""))
    Dim strTermText As String = Terms.Term().Text
     Can you tell me if there is another way to access this property in VB.NET?
  Enrique Martínez Zúñiga
    Analista Programador
  Sistemas de Información
  Biblioteca - ITESO University

View raw message