You mean the time that a doc, any doc, was last added to an index?
I'm not aware of a way to do that directly.
You can store arbitrary data when you commit changes and get it back
again somehow. See IndexCommit.getUserData().
Or look at the lastmod timestamps of the files on disk.
--
Ian.
On
I'd use StandardAnalyzer, or ClassicAnalyzer. Also depends on how you
want to search. You probably want a query for "John Smith" to match
"John Smith" and "Smith, John" but maybe not "John Brown and Sam
Smith". The latter is a problem. You can partially work round it by
using a BooleanQuery ma
Hi,
I'm indexing names in a dedicated Lucene field and I wonder which
analyzer to use for that purpose. Typically, the names are in the format
"John Smith", so the WhitespaceAnalyzer is likely the best in most
cases. The field type to choose seems to be the TextField.
Or, would you rather recommend
Hi,
How can I get the last indexed timestamp of a Lucene Index? I am using
Lucene 3.6.
--
With Regards,
Deepak Shakya
What are you trying to do with Query.combine? I want to just note, that the
method creates wrong results for certain queries!
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: slashone [mailto:sachinwalve
Hi Uwe Schindler,
thanks for your response.
I had requirement to combine few custom queries and i found that
Query.combine() was readily available .
So i had used that method. Now i am migrating code to lucene 4.0 ,hence
found this issue..
thanks
--
View this message in context:
http://luce
Hi,
this looks like a XY problem: You should explain first what you want to do, so
we can find a solution for you.
About Query.combine(): This method was solely a "helper" method only for use by
the (Parallel-)MultiSearcher classes in Lucene, which were deprecated in 3.x
and completely removed
Well, according to the javadoc, PayloadTermQuery "factors in the value
of the payload located at each of the positions where the Term
occurs".
Have you read some of the info available from Google by searching for
"lucene payloads"?
--
Ian.
On Fri, Nov 23, 2012 at 8:32 AM, wgggfiy wrote:
> Aft
After I finish "packing your information into a payload", but
is there some method to search with the information ?
what is the "PayloadTermQuery" for ??
thx
-
--
Email: wuqiu.m...@qq.com
--
--
View this message in context:
http://lucene.47206