FileDocument : cannot resolve symbol

2006-07-08 Thread James liu
when i try javac Package: org.apache.lucene.demo; name is IndexFiles.java it show me : FileDocument ,error info : cannot resolve symbol how can i compile it?

Re: modify existing non-indexed field

2006-07-08 Thread Doron Cohen
> From what you said, I'm thinking of switching to IndexModifier. Yes, IndexModifier would synchronize add/delete. One should notice the performance comment in IndexModifier http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexModifier.html - "While you can freely mix calls to add

TermQuery doesn't support non-english charecters

2006-07-08 Thread dan2000
When non-English word is used in TermQuery, it always returns null. With other types query, I could pass in an language specific analyzer. but with this TermQuery, I can't find anyway to specify the language. -- View this message in context: http://www.nabble.com/TermQuery-doesn%27t-support-non

Location Search: Latitude + Longitude

2006-07-08 Thread Giesen Giesen
How do I do distance based searches with Lucene? I can do this in SQL with longitude/latitude values, but can this be done in Lucene? I can't do my full search in the database as I want the fast fuzzy search capabilities of Lucene. It is possible to do the main search in Lucene and then do post

Re: Sorting & SQL-Database

2006-07-08 Thread George Abraham
Dominik, Sorry I saw this a little late, but I asked a similar question back in Dec 2005 and Jeff Rodenburg gave me some splendid help which we are implementing even now. Here is the gist of his solution. - Include the Lucene Doc's score (or sequential order, as an int) with the list of id values

SpanNearQuery with support for missing words (Or?)

2006-07-08 Thread Jon Bon Jovi
Hello folks ! I'm looking for a way to search for a phrase, where in I shud get a hit even if some (N) words in the query phrase is not matching or even not inorder, i.e. it shud match maximum to the query string. I also need to get the Spans for the hits for highlighting. SpanNearQuery is quite

SpanNearQuery with support for missing words

2006-07-08 Thread John Bonn
Hello folks ! I'm looking for a way to search for a phrase, where in I shud get a hit even if some (N) words in the query phrase is not matching or even not inorder, i.e. it shud match maximum to the query string. I also need to get the Spans for the hits for highlighting. SpanNearQuery is qui

Re: modify existing non-indexed field

2006-07-08 Thread dan2000
Thanks a lot Doron. I thought I had to close all readers and searchers in order to new IndexWriter, otherwise I keep getting Lock timeout exception in a multithreaded environment. In my case, modifying/adding/deleting only happens occasionally, so I don't have a IndexWritter that is open all the

java.lang.OutOfMemoryError when search in large index

2006-07-08 Thread yuexiang zhang
I have finished importing 10,000,000 docments into Lucene 2.0 . Every document includes journalTitle and articleTitle both of which should be sortable, so I add other two fields : journalTitle_sort and articleTitle_sort both of which use un_tokenized option for indexer. When I query by "jou

Re: modify existing non-indexed field

2006-07-08 Thread Daniel Naber
On Samstag 08 Juli 2006 00:03, dan2000 wrote: > When you do re-index, you'll have to close the reader, which > would pause the search. Any better way of doint it? Try using IndexModifier (added in Lucene 1.9). Regards Daniel -- http://www.danielnaber.de --