What version of lucene are you using? If not the latest, try that.
If you really think there is a lucene bug post a small self-contained
test case that demonstrates the problem.
--
Ian.
On Fri, May 11, 2012 at 12:35 PM, Kasun Perera wrote:
> On Fri, May 11, 2012 at 4:52 PM, Ian Lea wrote:
>
When I update a document in Lucene (i.e., re-indexing), I have to delete
the existing document, and create a new one. My understanding is that this
assigns a new doc ID for the newly created document. If that is the case,
is it true that the system can rather quickly run out of doc ID space
(which
On Fri, May 11, 2012 at 4:52 PM, Ian Lea wrote:
> Can't spot anything obviously wrong in your code and what you are
> trying to do should work. Are you positive that what you think is the
> second doc is really being added second? You only show one doc being
> added. Are there already 7 docs i
Can't spot anything obviously wrong in your code and what you are
trying to do should work. Are you positive that what you think is the
second doc is really being added second? You only show one doc being
added. Are there already 7 docs in the index before you start?
--
Ian.
On Fri, May 11,
it works. thank you.
On Fri, May 11, 2012 at 6:17 PM, Ian Lea wrote:
> I don't think there is an out of the box analyzer to do this but you
> can easily build your own, incorporating
> org.apache.lucene.analysis.ASCIIFoldingFilter into the chain.
>
>
> --
> Ian.
>
>
> On Fri, May 11, 2012 at 11:0
I don't think there is an out of the box analyzer to do this but you
can easily build your own, incorporating
org.apache.lucene.analysis.ASCIIFoldingFilter into the chain.
--
Ian.
On Fri, May 11, 2012 at 11:01 AM, Li Li wrote:
> I have some french hotels such as Elysée Etoile
> But for many of
I have some french hotels such as Elysée Etoile
But for many of our users, then can't type French letters, so they
will type Elysee Etoile
is there any analyzer can do this? thanks.
-
To unsubscribe, e-mail: java-user-unsubscr...@
I have collection of documents (say 10 documents)and i'm indexing them this
way, by storing the term vector
StringReader strRdElt = new StringReader(content);
Document doc = new Document();
String docname=docNames[docNo];
doc.add(new Field("doccontent", strRdElt, Field.TermVector.Y