You can write a custom Analyzer that performs different actions on different fields. Check out the FAQ at jGuru for an example.
Otis --- Sebastien X <[EMAIL PROTECTED]> wrote: > Hi, > > I've an another question. > > For indexing my documents I use this code : > writer = new IndexWriter(index, new StandardAnalyzer(), create); > > I use 2 fields "content" and "title" but I would use diff�rents > Analyzer for this 2 fields (one who could use numerical and the other > not, for example) > Is there a way to do this? > > thanks in advance > > S�bastien __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
