Yonik,
How do I do something like:
product(1,sum(0,query({!lucene
type=payloadQueryParser v=$hqval1})))
hgval1=cc:1
But I want:
num=1&hgval1=cc:$num
Thanks again.
On Sat, Oct 11, 2014 at 9:21 AM, Yonik Seeley wrote:
> On Sat, Oct 11, 2014 at 12:22 AM, William Bell
> wrote:
> > I want
On Sat, Dec 6, 2014 at 7:17 PM, Dinesh Babu wrote:
> Just curious, why solr does not provide a simple mechanism to do a phrase
> search ?
Simple phrase queries:
q= field1:"Hanks Major"
Phrase queries with wildcards / partial matches are a different
story... they are "complex":
q={!complexphras
AFAIK, partial word matching is not a common use case. Could you provide a
citation to shows otherwise?
Solr does provide a "simple mechanism" for "phrase search" - just place your
phrase in quotes.
If you wish to do something more complex, then of course the solution may be
more complex.
There is no spoon. And, there is no "phrase search". Certainly nothing
that is one approach that fits all.
What is actually happening is that you seem to want both phrase and
prefix search. In your original question you did not explain the
second part. So, you were given a solution for the first o
Just curious, why solr does not provide a simple mechanism to do a phrase
search ? It is a very common use case and it is very surprising that there is
no straight forward, at least I have not found one after so much research, way
to do it in Solr.
Regards,
Dinesh
-Original Message-
Hi Erik,
Wow that's great. Thanks for the explanation, I tried using the
VelocityResponseWriter with your template provided and it worked as
expected, makes sense!
What if I want to return a custom JSON response back, rather than HTML for
auto-suggesting? I'm thinking about using Twitter's typeah
On 12/6/2014 12:09 PM, JoeSmith wrote:
> We are currently using CloudSolrServer, but it looks like this class is not
> thread-safe (setDefaultCollection). Should this instance be initialized
> once (at startup) and then re-used (in all threads) until shutdown when the
> process terminates? Or shou
We are using Solrj 10.10.0 to connect to a Zookeeper Solr host. What is
the correct pattern for making concurrent requests to the Zookeeper host?
We are currently using CloudSolrServer, but it looks like this class is not
thread-safe (setDefaultCollection). Should this instance be initialized
onc
Ryan - I just pulled Taming Text off my shelf and refreshed my memory of this
custom response writer.
While having a custom writer is a neat example, it’s unnecessary for that
particular functionality. Solr has a built-in templatable response writer, the
VelocityResponseWriter. You can see
They should be reused if the impl. allows for it.
Besides reducing GC cost, it can also be a sizable performance gain
since these enums can have quite a bit of state that otherwise must be
re-initialized.
If you really don't want to reuse them (force a new enum every time), pass null.
Mike McCan
10 matches
Mail list logo