HI,
I am facing the exact issue described here:
http://stackoverflow.com/questions/25623797/solr-plugin-classloader.
Basically I'm writing a solr plugin by extending SearchComponent class. My
new class is part of a.jar archive. Also my class depends on a jar b.jar. I
placed both jars in my own fo
Hi Folks,
Thanks for all the great suggestions. i will try and see which one works
best.
@Hoss: The WEB-INF folder is just in my dev environment. I have a localo
Solr instance and I points it to the target/WEB-INF. Simple convenient
setup for development purposes.
Much appreciated.
Max.
On Wed,
Hi,
I have the following configuration for firstSearcher handler in
solrconfig.xml:
parts
score desc, Review1 asc, Rank2 asc
make
{!func}sum(product(0.01,param1),
product(0.20,param2), min(param2,0.4)) desc
Thank you Mike, that was it.
Max.
On Sat, Apr 2, 2016 at 2:40 AM, Mikhail Khludnev wrote:
> Hello Max,
>
> Since it reports the first space occurrence pos=32, I advise to nuke all
> spaces between braces in sum().
>
> On Fri, Apr 1, 2016 at 7:40 PM, Max Bridgewater &
Hi,
I am implementing a component that needs to redirect calls to the handler
that originally called it. Say the call comes to handler /search, the
component would then do some processing and, alter the query and then send
the query back to /search again.
It works great. The only issue is that th
HI Folks,
I am tasked with migrating a Solr app from Solr 4 to Solr 6. This solr app
is in essence a bunch of solr components/handlers. One part that challenges
me is BooleanQuery immutability in Solr 6.
Here is the challenge: In our old code base, we had classes that
implemented custom interface
I am migrating a solr based app from Solr 4 to Solr 6. One of the
discrepancies I am noticing is around edismax query parsing. My code makes
the following call:
userQuery="+(title:shirts isbn:shirts) +(id:20446 id:82876)"
Query query=QParser.getParser(userQuery, "edismax", req).getQuery();
eason to want it. If it was set to '100%' it
> might insert the additional '+' flags, but it can also show up as a '~'
> operator on the end.
>
> Ta,
> Greg
>
> On 8 November 2016 at 22:13, Max Bridgewater
> wrote:
>
> > I am migrating a so
Hi,
I am trying to do phrase exact match. For this, I use
KeywordTokenizerFactory. This basically does what I want to do. My field
type is defined as follows:
In addition to this, I want to tolerate typos of two or three lett
er.
> See below for e.g.
>
>
>
> http://localhost:8983/solr/techproducts/select?debugQuery=on&indent=on&q=
> manu:%22Bridge%20the%20gat~1%20between%20your%20skills%
> 20and%20your%20goals%22&defType=complexphrase
>
> On Thu, Jun 15, 2017 at 5:59 AM, Max Br
I am trying to confirm my understanding of MLT after going through
following page:
https://cwiki.apache.org/confluence/display/solr/MoreLikeThis.
Three approaches are mentioned:
1) Use it as a request handler and send text to the MoreLikeThis request
handler as needed.
2) Use it as a search compo
Hi,
The MLT documentation says that for best results, the fields should have
stored term vectors in schema.xml, with:
My question: should I also create the TermVectorComponent and declare it in
the search handler?
In other terms, do I have to do this in my solrconfig.xml for best results?
I migrated an application from Solr 4 to Solr 6. solrconfig.xml and
schema.xml are sensibly the same. The JVM params are also pretty much
similar. The indicces have each about 2 million documents. No particular
tuning was done to Solr 6 beyond the default settings. Solr 4 is running in
Tomcat 7.
Thanks folks. It looks like the sweet spot where I get comparable results
is at 30 concurrent threads. It progressively degrades from there as I
increases the number of concurrent threads in the test script.
This made me think that something is configured in Tomcat ((Solr4) that is
not comparative
sumption is true.
> It's arguable
> how much practical difference it makes though.
>
> Best,
> Erick
>
> On Mon, Nov 28, 2016 at 2:14 AM, Florian Gleixner wrote:
> > Am 28.11.2016 um 00:00 schrieb Shawn Heisey:
> >>
> >> On 11/27/2016 12:51 PM, Florian Gleix
I have one Solr core on my solr 6 instance and I can query it with:
http://localhost:8983/solr/mycore/search?q=*:*
Is there a way to configure solr 6 so that I can simply query it with this
simple URL?
http://localhost:8983/search?q=*:*
Thanks.
Max,
Hi,
It seems Query.extractTerms() disapeared from 5.1.0 (
http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/search/Query.html)
to 5.2.0 (
http://lucene.apache.org/core/5_2_0/core/org/apache/lucene/search/Query.html
).
However, I cannot find any comment on it in 5.2.0 release notes. Any
r
Perfect. Thanks a lot.
On Wed, Feb 1, 2017 at 2:01 PM, Alan Woodward wrote:
> Hi, extractTerms() is now on Weight rather than on Query.
>
> Alan
>
> > On 1 Feb 2017, at 17:43, Max Bridgewater
> wrote:
> >
> > Hi,
> >
> > It seems Query.ex
I am looking for best practices when a search component in one handler,
needs to invoke another handler, say /basic. So far, I got this working
prototype:
public void process(ResponseBuilder rb) throws IOException {
SolrQueryResponse response = new SolrQueryResponse();
Modifiabl
Hi,
My index is composed of product reviews. Each review contains the id of the
product it refers to. But it also contains a rating for this product and
the number of negative feedback provided on this product.
{
id: solr doc id,
rating: number between 0 and 5,
product_id: the product th
toring - Log Management - Alerting - Anomaly Detection
> Solr & Elasticsearch Consulting Support Training - http://sematext.com/
>
>
>
> > On 15 Jan 2018, at 17:27, Max Bridgewater
> wrote:
> >
> > Hi,
> >
> > My index is composed of product reviews
21 matches
Mail list logo