Don't think this is possible! See this JIRA ticket:
https://issues.apache.org/jira/browse/LUCENE-2125
If you don't store it, you cannot search it.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Querying-on-specific-token-attributes-tp4030891p4108544.html
Sent from the
Shai,
Once again, thanks for the help.
Yes, I am re-indexing. Using FacetFields.addFacets() on the doc works.
Given that I need to check the uniqueness before merging an index with facets
into a master, is there better way to it without re-indexing?
Gao Peng
-Original Message-
From
to
return the modified live docs.
Same as option 1, but you don't actually do the delete operation, which is
more costly than just unsetting a bit.
Shai
On Fri, Jul 5, 2013 at 6:10 PM, Peng Gao p...@esri.com wrote:
Shai,
Once again, thanks for the help.
Yes, I am re-indexing. Using
IndexWriter.AddIndexes().
If the temp index has facet index, this approach creates a bad index.
Is there a way I can build faceted index in multiple threads?
- Gao Peng
-Original Message-
From: Shai Erera [mailto:ser...@gmail.com]
Sent: Monday, July 01, 2013 8:25 PM
To: java-user
, I
loop through the temp index, and for each doc, check if it's already in the
master,
addDocument() only if it doesn't exist.
Now I have facets, how do I selectively merge docs?
Thanks again for your help,
Gao Peng
-Original Message-
From: Shai Erera [mailto:ser...@gmail.com]
Sent
How do I accumulate counts over a MultiReader (2 IndexReader)?
The following code causes an IOException:
ArrayListFacetRequest facetRequests = new ArrayListFacetRequest();
for (String groupField : groupFields)
facetRequests.add(new CountFacetRequest(new
Hi Steve,
Thanks for the help. One more question:
Is EnglishAnalyzer a drop-in replacement for SnowballAnalyzer(English, ...),
in terms
of stemming?
Thanks again
Peng
PS
Sorry for the Thread Hijacking. Will behave the next time.
-Original Message-
From: Steve Rowe [mailto:sar
Hi, I have a requirement recently to implement fuzzy phrase, for example, in
the indexed document there is a sentence I like lucene very much. And when
I search I do like lucene very much or I like lucene much, I both want
to get the search result, can someone guide me how to implement this
Hi Erick,
Any comments about this requirement?
2010/6/29 a peng zhoudengp...@gmail.com
Hi Erick,
Thanks for you reply, now I get the point why I can not get the search
result. But can you guide me how can I use Lucene to implement the following
search feature:
Basically we can call
Hi,
I am using StandardAnalyzer(Version.LUCENE_30);
2010/6/27 tarun sapra t.sapr...@gmail.com
which analyzer are you usin'?
On Sun, Jun 27, 2010 at 7:12 AM, a peng zhoudengp...@gmail.com wrote:
Hi,
I know the indexed content contains the following text: This is a test
but in your search phrase This is a formal test the
words This and test are 3 slop factor thats why it's nor working
now in search phrase This is formal test the words This and test are
2
slop factor apart thats why this phrase is working.
On Mon, Jun 28, 2010 at 11:37 AM, a peng zhoudengp
exist.
So,
whenever the search phrase contains a word that don't
exist in the document, the search result will be empty
is exactly how this is intended to work.
HTH
Erick
On Mon, Jun 28, 2010 at 9:09 AM, a peng zhoudengp...@gmail.com
wrote:
Hi,
My
Hi,
I know the indexed content contains the following text: This is a test.
And the search phrase I used is This is a formal test, and then I set the
slop of the PhraseQuery as 2 with setSlop(2), but I found that I can not get
a search result. If I set the search phrase as This is formal test,
.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Peng Yu [mailto:pengyu...@gmail.com]
Sent: Saturday, September 26, 2009 2:16 PM
To: java-user@lucene.apache.org
Subject: Re: Where to download lucene-analyzers and lucene
Hi,
I don't see where I can download lucene-analyzers.jar and
lucene-highlighter.jar? Can somebody show me?
Regards,
Peng
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java
: Peng Yu [mailto:pengyu...@gmail.com]
Sent: Saturday, September 26, 2009 2:03 PM
To: java-user@lucene.apache.org
Subject: Re: Where to download lucene-analyzers and lucene-highlighter?
Hi,
I am wondering how I should install the .jar files. I don't find an
install script. Shall I manually copy
)
Should there be a command in the distribution to make the compilation
step simple?
Regards,
Peng
On Sat, Sep 26, 2009 at 6:19 AM, Joel Halbert j...@su3analytics.com wrote:
Hi Peng - they are both within the contrib dir in your lucene package dowload
e.g
lucene-2.4.0/contrib/highlighter
17 matches
Mail list logo