| clear query|facets|time |
Search criteria: .
Results from 41 to 50 from
926 (0.262s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: Filtering top hits based on stored field? And Lucene 1.x -> 3.x for Dummies - Lucene - [mail # user]
|
|
...To the best of my understanding you are spot on about the degradation. Loading fields is costly, loading for thousands of docs is liable to be very costly. You can mitigate it by...
|
|
|
Author: Ian Lea,
2013-01-25, 21:56
|
|
|
Re: about isStored method - Lucene - [mail # user]
|
|
...If you're new to lucene why are you using such an old version? Stored means the value is stored in the index and can be retrieved later e.g. for displaying on a search results page. No...
|
|
|
Author: Ian Lea,
2013-01-25, 20:37
|
|
|
Re: Filtering top hits based on stored field? And Lucene 1.x -> 3.x for Dummies - Lucene - [mail # user]
|
|
...On the specific question, calling doc() is still expensive. You could look at the FieldCache or the new DocValues stuff. See http://www.searchworkings.org/blog/-/blogs/introducing-luce...
|
|
|
Author: Ian Lea,
2013-01-25, 20:31
|
|
|
Re: 回复: 回复: 回复: 回复: 回复: IndexReader.open and CorruptIndexException - Lucene - [mail # user]
|
|
...You didn't tell us until now that you were running an old version of lucene. Read the 3.5.0 javadocs for SearcherManager: "warmer - An optional SearcherWarmer. Pass null if you don't r...
|
|
|
Author: Ian Lea,
2013-01-25, 19:48
|
|
|
Re: 回复: 回复: 回复: IndexReader.open and CorruptIndexException - Lucene - [mail # user]
|
|
...No. Really? Don't remember that. Ian. ...
|
|
|
Author: Ian Lea,
2013-01-25, 16:16
|
|
|
Re: 回复: 回复: IndexReader.open and CorruptIndexException - Lucene - [mail # user]
|
|
...What version of lucene are you on? For 4.x and, as far as I can recall, 3.x, I've just got SearcherManager sm = new SearcherManager(dir, new SearcherFactory()); Ian. &nbs...
|
|
|
Author: Ian Lea,
2013-01-25, 16:09
|
|
|
Re: How do I best store my IRC log data in lucene indexes? - Lucene - [mail # user]
|
|
...Adding a message type field is the way to do it. Then you can use QueryWrapperFilter and CachingWrapperFilter, something like Term t = new Term("messtype", messtype); TermQuery t...
|
|
|
Author: Ian Lea,
2013-01-25, 13:40
|
|
|
Re: How do I best store my IRC log data in lucene indexes? - Lucene - [mail # user]
|
|
...Unless there's good reason not to (massive size? different systems? conflicting update schedules?) I'd store everything in the one index. Consider a cached filter for fast restri...
|
|
|
Author: Ian Lea,
2013-01-25, 09:51
|
|
|
Re: 回复: IndexReader.open and CorruptIndexException - Lucene - [mail # user]
|
|
...There will be one file handle for every currently open file. Use SearcherManager and this problem should go away. Ian. On Thu, Jan 24, 2013 at 6:40 PM, zhoucheng2008 &nbs...
|
|
|
Author: Ian Lea,
2013-01-24, 19:59
|
|
|
Re: IndexWriter: IndexWriter.MaxFieldLength.LIMITED && setMaxFieldLength(MAX_FIELD_SCAN_LENGTH) - Lucene - [mail # user]
|
|
...See org.apache.lucene.analysis.miscellaneous.LimitTokenCountAnalyzer and org.apache.lucene.analysis.miscellaneous.LimitTokenCountFilter. Looks you can use the former with StandardAnaly...
|
|
|
Author: Ian Lea,
2013-01-24, 09:58
|
|
|
|