| clear query|facets|time |
Search criteria: .
Results from 71 to 80 from
926 (0.19s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: Opposite of SpanFirstQuery - Searching for documents by last term in a field - Lucene - [mail # user]
|
|
...The javadoc for SpanFirstQuery says it is a special case of SpanPositionRangeQuery so maybe you can use the latter directly, although you might need to know the position of the last term whi...
|
|
|
Author: Ian Lea,
2012-12-11, 16:04
|
|
|
Re: Deciding how to use reader - Lucene - [mail # user]
|
|
...Certainly in java IndexReader is thread safe. From the 4.0.0 javadocs "IndexReader instances are completely thread safe, meaning multiple threads can call any of its methods, concurren...
|
|
|
Author: Ian Lea,
2012-12-10, 12:18
|
|
|
Re: Deciding how to use reader - Lucene - [mail # user]
|
|
...If the index is only updated once an hour I'd create a new reader once an hour as well, synchronized with the updates. Have you considered Solr? That would probably take care of ...
|
|
|
Author: Ian Lea,
2012-12-10, 11:59
|
|
|
Re: Delete documents base on more than one condition? - Lucene - [mail # user]
|
|
...Or, easier, just pass the Query identifying the docs to IndexWriter.deleteDocuments(Query query). There are variants that take multiple queries and single or multiple terms. See ...
|
|
|
Author: Ian Lea,
2012-12-06, 09:29
|
|
|
Re: Beginning with Lucene - Lucene - [mail # user]
|
|
...Read Lucene in Action. The fundamental concepts and techniques haven't changed. You can keep a copy of the release notes and migration guides for later versions to hand. Ian. &n...
|
|
|
Author: Ian Lea,
2012-12-05, 09:40
|
|
|
Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase() - Lucene - [mail # user]
|
|
...Dawid said "that's how it's supposed to work" which to me = "intended behaviour". Ian. On Tue, Dec 4, 2012 at 6:33 AM, Trejkaz wrote: ...
|
|
|
Author: Ian Lea,
2012-12-04, 09:43
|
|
|
Re: Lucene 4.0, Serialization - Lucene - [mail # user]
|
|
...It's in the release notes for 4.0. See https://issues.apache.org/jira/browse/LUCENE-2908 Ian. On Tue, Dec 4, 2012 at 9:33 AM, BIAGINI Nathan wrote: ...
|
|
|
Author: Ian Lea,
2012-12-04, 09:41
|
|
|
Re: sort by field and score - Lucene - [mail # user]
|
|
...Using a TopFieldCollector works fine for me in a little test program. My program sorts on a simple String field rather than your CustomComparatorSource, whatever that is. SortField sor...
|
|
|
Author: Ian Lea,
2012-11-30, 10:40
|
|
|
Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase() - Lucene - [mail # user]
|
|
...Sounds like a side effect of possibly different, locale-dependent, results of using String.toLowerCase() and/or Character.toLowerCase(). http://docs.oracle.com/javase/6/docs/api/java/l...
|
|
|
Author: Ian Lea,
2012-11-30, 09:22
|
|
|
Re: info on how lucene conducsts a search? - Lucene - [mail # user]
|
|
...As you can tell from the title, Lucene In Action is more about using lucene than how it works internally, but yes, it is good and is worth buying. If you're worried about how up to dat...
|
|
|
Author: Ian Lea,
2012-11-27, 20:29
|
|
|
|