Hello all,
Well, I add some document into index with "date" type :
doc.add(new Field("datestamp", "20111012",Store.YES,
Index.NOT_ANALYZED));
Then, I want to get the result order by "datestamp" field.
I am really sorry aboutI am a newer and di
While, I found "Range Searches", it would useful for this circumstance.
Thank you.
Regards,
Mead
On Thu, Oct 13, 2011 at 10:10 AM, Mead Lai wrote:
> Thank you very much,
> With your helps, that, finally, I use "WildcardQuery" to find right result:
> BooleanQuery resultQuery = new BooleanQu
Thank you very much,
With your helps, that, finally, I use "WildcardQuery" to find right result:
BooleanQuery resultQuery = new BooleanQuery();
resultQuery.add(WildcardQuery(new Term("content", "*keyword*"));
TopDocs topDocs = searcher.search(resultQuery,*1000*);
But there is also a pr
Hi,
Question about Payload Query and Document Boosts. We are using Lucene
3.2 and Payload queries, with our own PayloadSimilarity class which
overrides the scorePayload method like so:
{code}
@Override
public float scorePayload(int docId, String fieldName,
int start, int end, byte[] pa