lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Floyd Wu <floyd...@gmail.com>
Subject Re: [Lucene.Net] How to index/search a file name
Date Tue, 06 Sep 2011 10:06:48 GMT
Hi Digy,

Many thanks.

I try this later. By the way, do you recommend to upgrade to 2.9.4g or stay
in 2.9.3?
I've been use 2.9.3 for long time and seems to no big problem.

Floyd


2011/9/6 digy digy <digydigy@gmail.com>

> - Just copy and paste to your project :) and use it instead of
> StandardAnalyzer .
> - Yes, it is from 2.9.4.
>
> DIGY
>
> On Tue, Sep 6, 2011 at 12:47 PM, Floyd Wu <floyd.wu@gmail.com> wrote:
>
> > Hi Digy,
> >
> > Thank you. But how to apply this to my current project? Is this
> compitable
> > with lucene.net-2.9.x?
> >
> > Floyd
> >
> >
> > 2011/9/6 digy digy <digydigy@gmail.com>
> >
> > > That may help
> > >
> > > UnaccentedWordAnalyzer @
> > >
> > >
> >
> https://svn.apache.org/repos/asf/incubator/lucene.net/trunk/src/contrib/Core/Analysis/Ext/Analysis.Ext.cs
> > >
> > >
> > > DIGY
> > >
> > > On Tue, Sep 6, 2011 at 12:31 PM, Floyd Wu <floyd.wu@gmail.com> wrote:
> > >
> > > > Hi everyone,
> > > >
> > > > I have a question that annoying me many times. my situation is that I
> > > need
> > > > to index file name and need to be searchable using partial file name.
> > > >
> > > > example--> 2009&2010Q2_ABCD_Report.xls (the file name)
> > > >
> > > > When I shot queries
> > > >
> > > > filename:ABCD    no match return.
> > > >
> > > > filename:2010Q2_ABCD     match
> > > >
> > > > filename:Report*    match
> > > >
> > > > I'm using StandardAnalyzer and Lucene.Net version is 2.9.3. Current
> > > > filename
> > > > field is set to tokenized/indexed/store
> > > >
> > > > What I want is when user type any part of file name that lucene.Net
> can
> > > > match.
> > > > (string like 2009 or 2010Q2 or ABCD or Report or xls or Report.xls)
> > > >
> > > > Please help on this or kindly direct me a way to solve it.
> > > >
> > > > Floyd
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message