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 Luc
ply states
"Deprecated. (3.1) Use the language-specific analyzer in modules/analysis
instead. This analyzer will be
removed in Lucene 5.0."
I can't figure out how to rewrite it using 4.1 API. Could you help?
Thanks,
Peng
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
How do I accumulate counts over a MultiReader (2 IndexReader)?
The following code causes an IOException:
ArrayList facetRequests = new ArrayList();
for (String groupField : groupFields)
facetRequests.add(new CountFacetRequest(new CategoryPath(groupField,
'/'), 1));
Face
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
&
, 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:
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-
>
of every document that exists in a.
> Then use addIndexes with an AtomicReader which overrides getLiveDocs 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
>
>
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
Hi,
I am using StandardAnalyzer(Version.LUCENE_30);
2010/6/27 tarun sapra
> which analyzer are you usin'?
>
>
> On Sun, Jun 27, 2010 at 7:12 AM, a peng wrote:
>
> > Hi,
> >
> > I know the indexed content contains the following text: "This is a test&
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 wrote:
>
> > Hi,
> >
> > I am using StandardAnalyzer(Version.LUCENE_30);
> &g
gt;
> > > I think you're misunderstanding the intent of PhraseQueries and slop.
> > Slop
> > > is the number of intervening tokens that may exist between the words
> > > you're looking for. However, all the words you're looking for MUST
> exist.
>
Hi Erick,
Any comments about this requirement?
2010/6/29 a peng
> 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 t
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
f
-
> Uwe Schindler
> H.-H.-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
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:
;> -Original Message-
>> From: 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 w
done)
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 wrote:
> Hi Peng - they are both within the contrib dir in your lucene package dowload
> e.g
>
> lucene-2.4.0/contrib/highlighter/*.j
18 matches
Mail list logo