Thanks It's good for me.
ありがとう. :-)
- Jang
09. 1. 6, Koji Sekiguchi 님이 작성:
>
> That's correct!
>
> Koji
>
>
> 장용석 wrote:
> > Thanks for your advice.
> >
> > If I want to sort some field (for example name is "TITLE") and It must be
> > Analyzed.
> >
> > Then Do I have to make two field that one i
That's correct!
Koji
장용석 wrote:
> Thanks for your advice.
>
> If I want to sort some field (for example name is "TITLE") and It must be
> Analyzed.
>
> Then Do I have to make two field that one is ANALYZED and the other is
> NOT_ANALYZED like this?
>
> document.add(new Field("TITLE", value, Fiel
Thanks for your advice.
If I want to sort some field (for example name is "TITLE") and It must be
Analyzed.
Then Do I have to make two field that one is ANALYZED and the other is
NOT_ANALYZED like this?
document.add(new Field("TITLE", value, Field.Store.NO. Field.Index.ANALYZED)
document.add(new
See Sort class javadoc:
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/org/apache/lucene/search/Sort.html
It says:
The fields used to determine sort order must be carefully chosen.
Documents must contain a single term in such a field, and the value of
the term should indicate the
Hi.
I want to test sorting when search so I was created simple index like this.
String[] samples = {"duck dog","first dog","grammar dog","come dog","basic
dog","intro dog","lipton dog","search dog","servlet dog","jan dog"};
Directory dir = FSDirectory.getDirectory(path);
IndexWriter writer = new