Re: Memory usage: IndexSearcher Sort

2004-09-30 Thread Erik Hatcher
On Sep 29, 2004, at 3:11 PM, Bryan Dotzour wrote: 3. Certainly some of you on this list are using Lucene in a web-app environment. Can anyone list some best practices on managing reading/writing/searching a Lucene index in that context? Beyond the advice already given on this thread, since you

Re: Sorting on a long string

2004-09-30 Thread Erik Hatcher
On Sep 28, 2004, at 9:46 PM, Daly, Pete wrote: I am new to lucene, and trying to perform a sorted query on a list of people's names. Lucene seem unable to properly sort on the name field of my indexed documents. If I sort by the other (shorter) fields, it seems to work fine. The name sort

Re: Seraching in Keyword Field

2004-09-30 Thread Morus Walter
Bernhard Messer wrote Hi, try that query: MyKeywordField:ABC Why should that help? foo:(bla) and foo:bla create the same query: java -classpath lucene-1.4.1/lucene-1.4.1.jar org.apache.lucene.queryParser.QueryParser 'foo:(bla)' foo:bla java -classpath lucene-1.4.1/lucene-1.4.1.jar

Re: about online index

2004-09-30 Thread Otis Gospodnetic
Redirecting to lucene-user list. Maybe this is what you need: http://sourceforge.net/projects/luceneserver/ Otis --- haipeng du [EMAIL PROTECTED] wrote: Everyone: I want to create a lucene index server in which all index files are saved. All clients(on different computers) will access those

Re: Free software to crawl internet site?

2004-09-30 Thread Otis Gospodnetic
LARM is no longer being maintained, unfortunately. Use Nutch - http://www.nutch.org/ Otis --- Bo Gundersen [EMAIL PROTECTED] wrote: Zhang, Lisheng wrote: Hi, Does anyone know if there is free-software to crawl internet site (webcrawler)? I know currently lucene does not have this

RE: Memory usage: IndexSearcher Sort

2004-09-30 Thread Cocula Remi
-Message d'origine- De : Otis Gospodnetic [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 18:28 À : Lucene Users List Objet : RE: Memory usage: IndexSearcher Sort 2. How does this approach work with multiple, simultaneous users? IndexSearcher is thread-safe. You

RE: Memory usage: IndexSearcher Sort

2004-09-30 Thread Otis Gospodnetic
Correct. I think there is a FAQ entry at jguru.com that answers this. Otis --- Cocula Remi [EMAIL PROTECTED] wrote: 2. How does this approach work with multiple, simultaneous users? IndexSearcher is thread-safe. You mean one can invoque at the same time the search method of a unique

RE: Sorting on a long string

2004-09-30 Thread Daly, Pete
How are you indexing the name field? (code please :) doc.add(Field.Text(name, name)); Based on Aviron's suggestion, if I index as a Keyword, the sort works fine. Normally random order?! The natural (not using a Sort) order is by score (also called relevance). Nothing random about it at

Restricting searches to some URLs

2004-09-30 Thread Oscar Picasso
Hi, I use Lucene inside a Cocoon application. The indexed documents URLs are something like domain-name//integer/integer/integer. For example: flowers//1/234/23 flowers//2/23/90 ... animals//1/34/65 animals//21/98/4532 ... The searches are typically done in a subset of all available URLs. For

BooleanQuery - Too Many Clases on date range.

2004-09-30 Thread Chris Fraschetti
I recently read in regards to my problem that date_field:[0820483200 TO 110448] is evluated into a series of boolean queries ... which has a cap of 1024 ... considering my documents will have dates spanning over many years, and i need the granualirity of 'by day' searching, are there any

WildCardSearch

2004-09-30 Thread Robinson Raju
Hi , Would there be a problem if one enters space while using wildcards ? say i search for 'abc' . i get 100 hits as results 'man' gives - 200 'abc man' gives 300 but 'ab* man' 'abc ma*' ab* ma*' ab* OR ma* .. all of these return 0 results. can we not enter space or do an OR search with two words

Re: BooleanQuery - Too Many Clases on date range.

2004-09-30 Thread Stephane James Vaucher
How about a DateFilter? http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/DateFilter.html I don't believe it's got the same restrictions as boolean queries. HTH, sv On Thu, 30 Sep 2004, Chris Fraschetti wrote: I recently read in regards to my problem that