input has changed.
Regards,
Jochen
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Thanks for the help. Following-up on that, how can I create document
that is not indexed and returned by "normal" searches, and retrieve it
when I need access to my metadata? There seems to be no reliable
"document id" that I can use for this.
Regards,
Jochen
On 2011-
uery despite both query parsers refer to the
same syntax description.
Does StandardQueryParser takes field type into account when building the
query?
Kind regards, Jochen
-
To unsubscribe, e-mail: java-user-unsubscr...@luce
reduce the memory consumption
of Lucene?
3. Does Lucene provide a mechanism to limit the number of concurrent
searches or must I implement my own wrapper around the search calls
to Lucene?
Thanks
Jochen
-
To unsubscribe, e-ma
he tf calculation would be overwriting
tf in an own implementation of Similarity like it's done in
SweetSpotSimilarity. But the average term frequency of the
document is missing. Is there a simple way to get or calc this
number?
regar
he tf calculation would be overwriting
tf in an own implementation of Similarity like it's done in
SweetSpotSimilarity. But the average term frequency of the
document is missing. Is there a simple way to get or calc this
number?
regar
Lisheng,
Here's a package you could take a look at. I have used it in the past and it
worked reasonably well. Let me know what else you find and how it works for
you.
http://www.olivo.net/software/lc4j/
Good luck!
Jochen Frey
On Fri, Mar 27, 2009 at 9:54 AM, Zhang, Lisheng <
li
Hi Uwe,
Thanks for your answer. The alternative way was already familiar to me, but
thanks anyway ;-)!
I didn't know the "contrib" folder :-).
Thanks for your reply.
Kind regards,
Jochen
PS: I'm Belgian ;-) ...
2012/6/12 Uwe Schindler
> Hi Jochen,
>
> the fle
Hi all,
I'm searching for a way to reuse a Lucene search.
For example, I'm searching for the word "acci". But too many ScoreDocs are
returned, and I provide: "accide". Can it reuse the
existing search? Or is it just better to create a new and fresh Lucene
search?
Jochen
e Lucene
results to the relation database? Because the view should be rendering the
results?
Many thanks!
Jochen
Hi Chris,
Yeah! That's a possibility, thanks :-)!
Jochen
2012/7/3 Chris Lu
> Can you index the rule1 and rule2 fields into the documents, and when
> searching with the keywords, also append rule1:foo and rule2:bar to the
> query?
>
> Chris
> -
Hi Feng,
Hmmm, but Document is a Java object? It holds all kinds of other objects
like Sets, Lists, Maps, Strings, Doubles, ...
Can we store Java objects in a Lucene index?
Jochen
2012/7/3 feng lu
> and you can add d as a field with STORE and NOT_ANALYZER tag to it if d in
> Document
dles.
>
> regards
>
> Torsten
>
> Am Montag, den 02.07.2012, 15:44 +0200 schrieb Jochen Hebbrecht:
> > Hi all,
> >
> > I currently have a Seam component which is in my session. This component
> is
> > holding (private attribute) a custom "Lucene object&quo
Thanks Ian, I'll give it a try!
2012/7/3 Ian Lea
> You can use the QueryParser proximity feature e.g. "foo test"~n where
> n is the max distance you want them to be apart. Or look at the
> SpanQuery stuff e.g. SpanNearQuery.
>
>
> --
> Ian.
>
>
ple terms in a range :-( ...
What I can do, is to search from "Microsoft" to "Microsoft", this one
works. But not the one stated above ...
So the question is: can Lucene make a String range query on multiple terms?
Kind regards,
Jochen
2012/8/20 Ian Lea
> This won'
Hmm, just thinking. I could split the value on spaces.
Then I can say:
+TEST:Microsoft +TEST:[Belgium TO Spain]
I just tested it, and it seems to work :-) ...
2012/8/20 Jochen Hebbrecht
> Hi Ian,
>
> Thanks for your answer!
> Well, my example might have been not so clear. Her
Hehe Ian, our mails just crossed. I was thinking in the same way! :-).
Thanks for your reply!
2012/8/20 Ian Lea
> Jochen
>
>
> No, I don't think that Lucene can make a String range query on
> multiple terms. For your Microsoft example you could build a query
> wit
on as well!
Kind regards,
Jochen
Op 20/08/12 18:57 schreef Jack Krupansky :
>You could index the values in both a "text" and a separate "string"
>field.
>Then you can query the text field by keyword as well as the string field
>by
>the full literal valu
he list, to get to the best match.
Maybe it can generate a kind of percentage/scoring to tell me which
document is the closest to Doc 4? Does Lucene have this kind of feature?
Thanks in advance for any answer,
Jochen
Hi qibaoyuan,
I tried your second solution, using the scoring data. I think in this way,
I could use MoreLikeThis. All documents with a score > X are a possible
match :-).
Thanks!
Jochen
2012/9/7 qibaoyuan
>
> MAYBE you could alter MLT to make him working on AND
>
Thanks! Works like a charm :-)!
2012/9/7 Trejkaz
> On Fri, Sep 7, 2012 at 6:12 PM, Jochen Hebbrecht
> wrote:
> > Hi qibaoyuan,
> >
> > I tried your second solution, using the scoring data. I think in this
> way,
> > I could use MoreLikeThis. All document
vaone" or "javaOne".
How do you solve this in a proper way? Bringing all characters
toLowerCase() when indexing them?
Jochen
2012/10/1 Jack Krupansky
> That's "The escape merely..."
>
> -- Jack Krupansky
>
> -Original Message- From: J
TokenStreamComponents(source, sink);
}
I think this will do the trick too, right?
Jochen
2012/10/1 Jack Krupansky
> Sorry, I meant apply the filter to the TOKENIZER that the analyzer uses.
>
>
> -- Jack Krupansky
>
> -Original Message- From: Jack Krupansky
> Sen
4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
- java Xmx512M
Has anybody an idea what causes this problem or experienced something
similar?
Thanks in advance,
Jochen
-
To unsubscribe, e-ma
24 matches
Mail list logo