is there any n-gram analyzer available??

2006-09-22 Thread heritrix . lucene
Hi i am looking for a analyzer that chops a given string into its n-grams. Basically, I want to index 3-grams and more upto the limit of a word. Can anybody tell me if there is any analyzer is available for this. Regards..

Status: Sorting on tokenized fields

2006-09-22 Thread lude
Hello, for years there is the discussion to make lucene able to sort on TOKENIZED fields. (e.g. if more then one term is available concatenate the tokens OR use the stored value for sorting). Could some of the developer please make a statement if there are any plans to implement this feature in

Re: is there any n-gram analyzer available??

2006-09-22 Thread karl wettin
On Fri, 2006-09-22 at 14:19 +0530, heritrix.lucene wrote: > i am looking for a analyzer that chops a given string into its n-grams. > Basically, I want to index 3-grams and more upto the limit of a word. Can > anybody tell me if there is any analyzer is available for this. It's not that much to it

Re[4]: ParallelMultiSearcher

2006-09-22 Thread Yura Smolsky
Hello, Yonik. >> ok. I have big issue when I try to search ParallelMultiSearcher for >> PrefixQuery. This query is being rewritten to BooleanQuery during >> search. This causes Similarity to calculate docFreq for each Term in the >> BooleanQuery. So if we have a lot of results for some PrefixQuery

Using example Lucene 2.0 index class

2006-09-22 Thread Mag Gam
Hi All, I have been using the Lucene 2.0 distro Index to index my files, currently it indexes filepath and contents. I want to index, lastModified() (Returns the time that the file denoted by this abstract pathname was last modified.), and file length, length(). Can someone please show me how to

Re: Using example Lucene 2.0 index class

2006-09-22 Thread Erick Erickson
Ya gotta use google, man . This took about 15 seconds to find by googling java file modification date Get the "last modified" date from a file Simply use the lastModified() method from a file object. but the return value is system dependent and should only be used to compare with other values re

Re: Using example Lucene 2.0 index class

2006-09-22 Thread Doron Cohen
> I have been using the Lucene 2.0 distro Index to index my files, currently > it indexes filepath and contents. I want to index, lastModified() (Returns > the time that the file denoted by this abstract pathname was last > modified.), and file length, length(). > > Can someone please show me how t

Re: Using example Lucene 2.0 index class

2006-09-22 Thread Doron Cohen
> > I have been using the Lucene 2.0 distro Index to index my > > files, currently it indexes filepath and contents. I want > > to index, lastModified() (Returns the time that the file > > denoted by this abstract pathname was last > > modified.), and file length, length(). > > > > Can someone plea

Re: Using example Lucene 2.0 index class

2006-09-22 Thread Mark Miller
Not to step out of Lucene world, but I would love to know the truth of the matter on this...the first site that search brings up on google seems to claim that was the behavior back at 1.2 or so and it is not the case anymore. The javadocs don't seem to mention it: lastModified public l

Re: is there any n-gram analyzer available??

2006-09-22 Thread Chris Hostetter
https://issues.apache.org/jira/browse/LUCENE-400 -Hoss - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Status: Sorting on tokenized fields

2006-09-22 Thread Chris Hostetter
: for years there is the discussion to make lucene able to sort on TOKENIZED : fields. really? .. i've only been on the list since 1.4.3 but i don't remember it being much of a recurring topic. : (e.g. if more then one term is available concatenate the tokens OR use the : stored value for sortin

Re: is there any n-gram analyzer available??

2006-09-22 Thread heritrix . lucene
Thanks for your reply. This analyzer creates combination of words. I am looking for analyzer where you can break up the words into their n-grams. For example: 2-grams of google - > go, oo, og, gl, le like that. Regards On 9/23/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: https://issues.ap

ChainedFilter

2006-09-22 Thread Bhavin Pandya
Hi, I am using ChainedFilter and FilteredQuery together in order to remove RangeQuery from my code. the problem is its not working..its effect is not coming...it returns me same number of record whether i am including range or not. Here is the snippet. BooleanQuery bqone =