dump lucene index

2006-04-19 Thread AJ Chen
How to dump the whole index in lucene to file? Thanks. AJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using boolean operators with the PhraseQuery

2006-04-19 Thread Daniel Naber
On Mittwoch 19 April 2006 07:25, Vishal Bathija wrote: > Query= contents:"provides  distribution" contents:"supports >  distribution" Why are there two spaces between those words? > I am not sure why it returns 0, when I have both phrases present in the > docs. See http://wiki.apache.org/jakart

Re: dump lucene index

2006-04-19 Thread karl wettin
19 apr 2006 kl. 09.31 skrev AJ Chen: How to dump the whole index in lucene to file? Thanks. Use FSDirectory instead of RAMDirectory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: using custom sort method

2006-04-19 Thread Urvashi Gadi
Yang, If you could send some more details...it would be really helpful. Thanks Quoting Yang Sun <[EMAIL PROTECTED]>: I have asked the exact same question a few weeks ago. I just follow the customized distance example and loop the results again to get another field and compute the scores. It

RE: Index all the files in a directory

2006-04-19 Thread Kostas V.
Dear Nick, Thank you for your reply, but I still face some problems. I saw the API for FilenameFilter... but I can't instantiate it because it's abstract. The accept method has a parameter name? Where is this? And how I call this method? Finally what are those " : " in the for loop. Sorry but if

Re: Index all the files in a directory

2006-04-19 Thread Erick Erickson
Maybe something like this will work It just recursively descends from the root passed to parseAll, processing each .txt file it finds. // Parameter is just the file path of the parent directory. public void parseAll(String sParentDir) throws Exception { indexTree(new File(sPar

Re: Index all the files in a directory

2006-04-19 Thread Erick Erickson
P.S. if you're not using 1.5..

BooleanQuery$TooManyClauses

2006-04-19 Thread Flávio Marim
Hi there. I am a new Lucene user and I have been searching the group archives but couldn't solve the problem. I have just joined a project that uses Lucene. We get an error when we issue some of our wildcard text searches. We use the StandardAnalyzer for indexing our documents and our query is a

Re: BooleanQuery$TooManyClauses

2006-04-19 Thread Daniel Naber
On Mittwoch 19 April 2006 22:10, Flávio Marim wrote: > I am a new Lucene user and I have been searching the group archives but > couldn't solve the problem. see http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-06fafb5d19e786a50fb3dfb8821a6af9f37aa831 -- http://www.danielnaber.de --