I found SortField and Sort, but they just sort by a field,
and what I want is to sort by the groupDocs.totalHits ?
Anyone knows ? thx
-
--
Email: wuqiu.m...@qq.com
--
--
View this message in context:
http://lucene.472066.n3.nabble.com/Could-g
I am very sorry, I should have sent to solr user group, not lucene!!
Best regards, Lisheng
-Original Message-
From: Zhang, Lisheng
Sent: Friday, February 08, 2013 12:17 PM
To: 'java-user@lucene.apache.org'
Subject: Solr query parser, needs to call
setAutoGeneratePhraseQueries(true)
Hi
Hi,
In our application we need to call method
setAutoGeneratePhraseQueries(true)
on lucene QueryParser, this is the way used to work in earlier versions
and it seems to me that is the much natural way?
But in current solr 3.6.1, the only way to do so is to set
LUCENE_30
in solrconfig.xml (i
Hi Nicolas,
For trailing '*' only: On the query side, you can use a front-side
EdgeNGramTokenFilter with a large max gram size, followed by a
PatternReplaceFilter with pattern "(.*)" and replacement "$1*".
Steve
On Feb 8, 2013, at 10:14 AM, Nicolas Roduit
wrote:
> For instance, I have a lis
Ah, okay... some people call that "prospective" search. In any case, there
is no direct Lucene support that I know of.
There are some references here:
http://lucene.apache.org/core/4_0_0/memory/org/apache/lucene/index/memory/MemoryIndex.html
-- Jack Krupansky
-Original Message-
From:
So you want a query for "buddhist" to match indexed term "budd*"? Or
"bud* or "bu*" or "b*"?
Assuming you are using an analyzer that preserves the *, given
"buddhist" you could search for exactly "b*", "bu*" etc.
I'll let you think about ? rather than *.
--
Ian.
On Fri, Feb 8, 2013 at 3:14 P
For instance, I have a list of tags related to a text. Each text with
its list of tags are put in a document and indexed by Lucene. If we
consider that a tag is "buddh*" and I would like to make a query (e.g.
"buddha" or "buddhism" or "buddhist") and find the document that contain
"buddh*".
T
That description is too vague. Could you provide a couple of examples of
index text and queries and what you expect those queries to match.
If you simply want to query for "*" and "?" in "string" fields, escape them
with a backslash. But if you want to escape them in "text" fields, be sure
to
The score from the main query is passed to the customScore() methods
of CustomScoreProvider so you can tweak that as you will. Or, easier,
use document boosting to set a low boost for common titles. How are
you going to determine if a title is common or not?
Lucene by default will tend to favour
hello,
I have the following question:
is it possible to combine the result of a custom score, with the normal
relevance ranking score ?
We'd like to have a scoring where documents that have a "title" field that's
the same as the "title" of many other documents, are ranked lower. But
without losi
10 matches
Mail list logo