Have you looked at the Searcher.search variant
that takes a Sort parameter?
Best
Erick
On Sun, Feb 26, 2012 at 8:30 AM, Dragon Fly wrote:
>
> Hi,
>
> Let's say I have 6 documents and each document has 2 fields (i.e.
> CustomerName and OrderDate). For example:
>
> Doc 1 John 20120115
> Do
There is no Analyzer implementation because no one ever made one :).
Copy-pasting StandardAnalyzer and substituting UAX29URLEmailTokenizer wherever
StandardTokenizer appears should do the trick.
Because people often want to be able to search against *both* whole email
addresses and URLs *and*
Hi,
Let's say I have 6 documents and each document has 2 fields (i.e. CustomerName
and OrderDate). For example:
Doc 1John20120115
Doc 2Mary20120113
Doc 3Peter 20120117
Doc 4Kate20120208
Doc 5John20120211
Doc 6Alan20110423
Is there a way to execute
Hi,
If you want a Tokenizer for your Analyzer that supports eMail detection, use
UAX29URLEmailTokenizer (see http://goo.gl/evH97). There is no Analyzer
available that uses this Tokenizer, but you can define your own one like
StandardAnalyzer, but with this class as Tokenizer (not StandardTokenizer