Re: Possible bug on LTR when using solr 8.6.3 - index out of bounds DisiPriorityQueue.add(DisiPriorityQueue.java:102)

2021-01-06 Thread Florin Babes
racting-features > [2] > https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.6.3/solr/contrib/ltr/src/java/org/apache/solr/ltr/feature/SolrFeature.java#L243 > [3] > https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.6.3/solr/contrib/ltr/src/java/org/apache/

Re:Possible bug on LTR when using solr 8.6.3 - index out of bounds DisiPriorityQueue.add(DisiPriorityQueue.java:102)

2021-01-05 Thread Christine Poerschke (BLOOMBERG/ LONDON)
.java#L520-L525 From: solr-user@lucene.apache.org At: 01/04/21 17:31:44To: solr-user@lucene.apache.org Subject: Possible bug on LTR when using solr 8.6.3 - index out of bounds DisiPriorityQueue.add(DisiPriorityQueue.java:102) Hello, We are trying to update Solr from 8.3.1 to 8.6.3. On Solr 8.

Possible bug on LTR when using solr 8.6.3 - index out of bounds DisiPriorityQueue.add(DisiPriorityQueue.java:102)

2021-01-04 Thread Florin Babes
Hello, We are trying to update Solr from 8.3.1 to 8.6.3. On Solr 8.3.1 we are using LTR in production using a MultipleAdditiveTrees model. On Solr 8.6.3 we receive an error when we try to compute some SolrFeatures. We didn't find any pattern of the queries that fail. Example: We have the following

Re: Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread ChienHuaWang
Use Solr 8.5.1, no issue to add replica/collection from my side. What's the step you use? and for sure logs would be helpful -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread Colvin Cowie
Have you checked the logs to see what is happening? What error messages are you getting? On Wed, 24 Jun 2020 at 15:23, Shreyas Kothiya < shreyas.koth...@archivesocial.com> wrote: > Hello > > I was trying to add replica using solr admin UI. but it seems not working > on solr

Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread Shreyas Kothiya
Hello I was trying to add replica using solr admin UI. but it seems not working on solr 8.5.1 . I was not able to find any bug around this. is this a known bug or do I need to change any-settings to enable this, Thanks

Re: using solr to extarct keywords from a long text?

2020-06-11 Thread David Zimmermann
Hi Mikhail Your suggested solution does seem to work for me. Thank you so much for the help! Best regards David For future reference in case someone else wants do the same, here are some more details about the steps needed: - The more like this handler is not in the default solrconfig.xml anym

Re: using solr to extarct keywords from a long text?

2020-06-10 Thread Mikhail Khludnev
Hello, David. >From the code I noticing that MoreLikeThisHandler consumes request body when there's no ?q= and analyzes it for doing what are you asking for. I see that ref guide obscured this feature. On Wed, Jun 10, 2020 at 4:37 PM David Zimmermann wrote: > Dear solr community > > I’m suppose

using solr to extarct keywords from a long text?

2020-06-10 Thread David Zimmermann
Dear solr community I’m supposed to extract keywords from long texts. I do have a solr index with a lot of documents from the same domain as my texts. So, I was wondering if I can use solr to extract those keywords. Ideally I would want to use the TF-IDF basd “importantTerms” from the “more lik

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-03 Thread Jan Høydahl
As I said, I don’t think you will be successful with a public OAuth provider like google or GitHub. I know little about how or whether they issue access tokens at all. I think they just deal with ID tokens? Jan > 3. jan. 2020 kl. 08:07 skrev lakshgupta29 : > > Hi Jan, > > I've used Auth2.0 pr

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-03 Thread lakshgupta29
Hi Jan, I've used Auth2.0 provider for admin UI Dashboard authentication. I've passed IdP endpoint and client id as per the provider details. It's logging in my dashboard successfully, not able to authenticate API, getting below exception. o.a.s.s.SolrLogAuditLoggerPlugin type="REJECTED" messag

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-02 Thread Jan Høydahl
Don’t think so - you need to register Solr as a client with your IdP according to the docs. Jan > 2. jan. 2020 kl. 13:01 skrev lakshgupta29 : > > Can i use GitHub Provider authentication for admin UI support. > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-02 Thread lakshgupta29
Can i use GitHub Provider authentication for admin UI support. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-30 Thread Jan Høydahl
Hi Explaining what OpenID or Idenity servers are is a bit outside the scope here :) Encourage you to read up on the subject[1] and try out one of the free IdP providers online[2] to test things out, then decide whether you want to install your own IdP in-house. [1] https://en.wikipedia.org/wiki

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-30 Thread lakshgupta29
Currently, I am seeing the below image Jan, Could you please provide steps to create own IdP server or any reference on the internet. I'd really appreciate that. Thanks! -- Sent from: https://lucene.472066.n3.nabble.com/Solr

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread Jan Høydahl
There is support for OpenID connect login from Admin. Just point it to your IDP’s endpoint and Solr will redirect you to your IdP for logging in. The IdP will pass the JWT token to your browser. If you manually generate your JWT tokens and do not have an IdP server it’s not that easy. What do y

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread lakshgupta29
Thanks for your quick response. Is there any way to secure my Admin UI Dashboard as well as API's using JWT token machanism. Thanks -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread lakshgupta29
Hi Jan, Thanks for your quick response. The above issue has resolved now API's are secured with JWT token with set authorized permissions. Unfortunately , I'm stuck in solr admin UI dashboard. My API's are secured by using JWT authentication, When i'm trying to access admin dashboard few functi

Re: Using solr 7.7.2, Is it safe to manually delete tlog after doing commit?

2019-12-21 Thread Erick Erickson
I wouldn’t remove the entire directory, but yeah, after a commit you should be fine to remove all of the files/directories _under_ tlog. > On Dec 20, 2019, at 5:35 PM, alwaysbluesky wrote: > > Using solr 7.7.2. > > Our CDCR is broken for some reason as I posted the other &

Using solr 7.7.2, Is it safe to manually delete tlog after doing commit?

2019-12-20 Thread alwaysbluesky
Using solr 7.7.2. Our CDCR is broken for some reason as I posted the other question(https://lucene.472066.n3.nabble.com/Three-questions-about-huge-tlog-problem-and-CDCR-td4453788.html). So the size of tlog is huge now... I don't care CDCR for now, and just want to clean all these tlog

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-20 Thread Jason Gerlowski
s://gist.github.com/b330e1bea7842bcdc1e5fa3940b4a4f7> > >> > >> The trick is to «whitelist» certain paths that will not require auth, but > >> then further down add rules to block all other paths either as admin role > >> or with special role *»* which means «a

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-20 Thread Jan Høydahl
com/b330e1bea7842bcdc1e5fa3940b4a4f7> >> >> The trick is to «whitelist» certain paths that will not require auth, but >> then further down add rules to block all other paths either as admin role or >> with special role *»* which means «any authenticated user». >>

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-17 Thread Jason Gerlowski
t; > Jan > > > 12. des. 2019 kl. 07:47 skrev Lakhan Gupta > > : > > > > Hi, > > > > Using solr 8.1.1 version and facing problem while enabling jwt > > authentication in solr. Jwt authentication is working fine after > > configuring se

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-12 Thread Jan Høydahl
ole or with special role *»* which means «any authenticated user». Jan > 12. des. 2019 kl. 07:47 skrev Lakhan Gupta > : > > Hi, > > Using solr 8.1.1 version and facing problem while enabling jwt authentication > in solr. Jwt authentication is working fine after configuring s

Facing jwt authentication problem using solr 8.1.1

2019-12-12 Thread Lakhan Gupta
Hi, Using solr 8.1.1 version and facing problem while enabling jwt authentication in solr. Jwt authentication is working fine after configuring security.json file. Below is the configuration I am using for enabling jwt authentication. Security.json { "authentic

Re: Using solr API to return csv results

2019-11-07 Thread Paras Lehana
Hi Rhys, There's already a JIRA for this: https://issues.apache.org/jira/browse/SOLR-2731. You can comment on the ticket. I also recommend you to read about /export handler. On Fri, 8 Nov 2019 at 01:39, rhys J wrote: > If I

Using solr API to return csv results

2019-11-07 Thread rhys J
If I am using the Solr API to query the core, is there a way to tell how many documents are found if i use wt=CSV? Thanks, Rhys

Re: Dynamic facet limits using Solr

2019-10-26 Thread Erick Erickson
How are you getting the word counts? Do you have a field in the doc where you store it? If so, either use “interval facets” or “facet queries”, either one should give you what you want. Your particular example would also work with “range faceting” since the buckets are identically sized. See:

Dynamic facet limits using Solr

2019-10-25 Thread mohamedXYZ
How can I group my Solr query results using a numeric field into x buckets, where the bucket start and end values are determined when the query is run? For example, if I want to count and group documents into 5 buckets by a wordCount field, the results should be: 250-500 words: 3438 results 500-75

Dynamic facet limits using Solr

2019-10-25 Thread mohamedXYZ
How can I group my Solr query results using a numeric field into x buckets, where the bucket start and end values are determined when the query is run? For example, if I want to count and group documents into 5 buckets by a wordCount field, the results should be: 250-500 words: 3438 results 500-75

Re: Query number of Lucene documents using Solr?

2019-08-27 Thread Erick Erickson
Bram: If you optimize (Solr 7.4 and earlier), that may be part of the “stuff” as an index with a single segment can accumulate far more deleted documents. Shot in the dark. See: https://lucidworks.com/post/segment-merging-deleted-documents-optimize-may-bad/ Plus the linked article to how Solr

Re: Query number of Lucene documents using Solr?

2019-08-27 Thread Bram Van Dam
On 26/08/2019 23:12, Shawn Heisey wrote: > The numbers shown in Solr's LukeRequestHandler come directly from > Lucene.  This is the URL endpoint it will normally be at, for core XXX: > > http://host:port/solr/XXX/admin/luke Thanks Shawn, that's a great entry point! > The specific error you encou

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Bernd Fehling
You might use the Lucene internal CheckIndex included in lucene core. It should tell you everything you need. At least a good starting point for writing your own tool. Copy lucene-core-x.y.z-SNAPSHOT.jar and lucene-misc-x.y.z-SNAPSHOT.jar to a local directory. java -cp lucene-core-x.y.z-SNAPSHOT

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Shawn Heisey
On 8/26/2019 2:19 PM, Bram Van Dam wrote: Possibly somewhat unusual question: I'm looking for a way to query the number of *lucene documents* from within Solr. This can be different from the number of Solr documents (because of unmerged deletes/updates/ etc). As a bit of background; we recently

Re: Query number of Lucene documents using Solr?

2019-08-26 Thread Alexandre Rafalovitch
Luke may have it at least for a quick check: https://github.com/dmitrykey/luke (part of last/next? version of Lucene now). Regards, Alex. On Mon, 26 Aug 2019 at 16:20, Bram Van Dam wrote: > > Possibly somewhat unusual question: I'm looking for a way to query the > number of *lucene documents*

Query number of Lucene documents using Solr?

2019-08-26 Thread Bram Van Dam
Possibly somewhat unusual question: I'm looking for a way to query the number of *lucene documents* from within Solr. This can be different from the number of Solr documents (because of unmerged deletes/updates/ etc). As a bit of background; we recently found this lovely little error message in a

Re: Using Solr as a Database?

2019-06-05 Thread Ralph Soika
Hello Christopher, On 03.06.19 23:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ralph, On 6/2/19 16:32, Ralph Soika wrote: The whole system is highly transactional as it runs on Java EE with JPA and Session EJBs. And you write-through from your application ->

Re: Using Solr as a Database?

2019-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 6/3/19 16:26, Davis, Daniel (NIH/NLM) [C] wrote: > I think the sweet spot of Cassandra and Solr should be mentioned > in this discussion. Cassandra is more scalable/clusterable than > an RDBMS, without losing all of the structure that i

Re: Using Solr as a Database?

2019-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ralph, On 6/2/19 16:32, Ralph Soika wrote: > The whole system is highly transactional as it runs on Java EE with > JPA and Session EJBs. And you write-through from your application -> RDBMS -> Lucene/Solr? How are you handling commits (both soft a

RE: Using Solr as a Database?

2019-06-03 Thread Davis, Daniel (NIH/NLM) [C]
I think the sweet spot of Cassandra and Solr should be mentioned in this discussion. Cassandra is more scalable/clusterable than an RDBMS, without losing all of the structure that is desirable in an RDBMS. In contrast, if you use a full document store such as MongoDB, you lose some of the

Re: Using Solr as a Database?

2019-06-03 Thread Shawn Heisey
On 6/2/2019 7:28 AM, Ralph Soika wrote: This is not intended to contradict the other replies you've gotten, only supplement them. Now as far as I understand is solr a cluster enabled datastore which can be used to store also all the data form our document. The problem with relational database

Re: Using Solr as a Database?

2019-06-02 Thread Ralph Soika
Thanks a lot again for your answers. I do now better understand the operation purpose of Solar Thanks for your help === Ralph On 02.06.19 23:27, Erick Erickson wrote: Not exactly. If I’m reading this right, you do now, and will continue, to have all the data in the RDBMS, correct? That’s wha

Re: Using Solr as a Database?

2019-06-02 Thread Erick Erickson
Not exactly. If I’m reading this right, you do now, and will continue, to have all the data in the RDBMS, correct? That’s what I call the “system of record”. So you’re not talking about getting rid of the RDBMS, rather basically copying it all over in to Solr and periodically updating your Solr

Re: Using Solr as a Database?

2019-06-02 Thread Dave
You *can use solr as a database, in the same sense that you *can use a chainsaw to remodel your bathroom. Is it the right tool for the job? No. Can you make it work? Yes. As for HA and cluster rdbms gallera cluster works great for Maria db, and is acid compliant. I’m sure any other database h

Re: Using Solr as a Database?

2019-06-02 Thread Walter Underwood
> On Jun 2, 2019, at 6:28 AM, Ralph Soika wrote: > > Now as far as I understand is solr a cluster enabled datastore which can be > used to store also all the data form our document. That understanding is incorrect. Solr is not a data store. Reasoning based on that false assumption leads to fa

Re: Using Solr as a Database?

2019-06-02 Thread Ralph Soika
Thanks Jörn and Erick for your explanations. What I do so far is the following:  * I have a RDBMS with one totally flatten table holding all the data and the id.  * The data is unstructured. Fields can vary from document to document. I have no fixed schema. A dataset is represented by a Hashma

Re: Using Solr as a Database?

2019-06-02 Thread Erick Erickson
You must be able to rebuild your index completely when, at some point, you change your schema in incompatible ways. For that reason, either you have to play tricks with Solr (i.e. store all fields or the original document or….) or somehow have access to the original document. Furthermore, star

Re: Using Solr as a Database?

2019-06-02 Thread Jörn Franke
It depends what you want to do with it. You can store all fields in Solr and filter on them. However, as soon as it comes to Acid guarantees or if you need to join the data you will be probably needing something else than Solr (or have other workarounds eg flatten the table ). Maybe you can des

Using Solr as a Database?

2019-06-02 Thread Ralph Soika
Inspired by an article in the last german JavaMagazin written by Uwe Schindler I wonder if Solr can also be used as a database? In our open source project Imixs-Workflow we use Lucene since several years with great success. We have unstructured docum

Re: Using solr graph to traverse N relationships

2019-03-13 Thread Pratik Patel
gt; use this mailing list instead so I'm sending it out here also. Here's my > original link if you want to maybe answer there also. But I also copied the > question into the body of the email. > > > https://stackoverflow.com/questions/55130208/using-solr-graph-to-traverse-n-r

Using solr graph to traverse N relationships

2019-03-13 Thread Nightingale, Jonathan A (US)
erflow.com/questions/55130208/using-solr-graph-to-traverse-n-relationships I'm investigating if I can use an existing solr store to do graph traversal. It would be ideal to not have to duplicate the data in a graph store. I was playing with the solr streaming capabilities and the nodes (gatherNo

Re: Federated / Distributed search using Solr

2018-12-29 Thread Erick Erickson
bq. I have 3 indexes and all three use different schema. I assume that the user can't indicate a field to search against or this is a total non-starter. Even if you are just sending bare search terms to the different collections, how are you going to compare returns from them? Scores aren't compa

Re: Federated / Distributed search using Solr

2018-12-29 Thread Gus Heck
If the indexes are on the same cluster, you can use an alias for querying. Updating via aliases doesn't work well (updates go to the first collection listed only) unless it's a time routed alias. http://lucene.apache.org/solr/guide/7_6/collections-api.html#createalias On Sat, Dec 29, 2018 at 4:

Federated / Distributed search using Solr

2018-12-29 Thread Steven White
Hi everyone, Does Solr support federated / distributed search when the schema of the 2 or more indexes are different? I have 3 indexes and all three use different schema. However, the unique key field name is the same across all 3 indexes. I need to search on all 3 indexes and return results as

Re: Custom typeahead using Solr

2018-10-17 Thread Emir Arnautović
gement - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 17 Oct 2018, at 11:20, Vineet Mangla wrote: > > Hi All, > > We have a requirement to create typeahead using Solr with following logic: > > Let's

Custom typeahead using Solr

2018-10-17 Thread Vineet Mangla
Hi All, We have a requirement to create typeahead using Solr with following logic: Let's say my Solr core has a field called jobtitle with two values as "senior software engineer" and "software engineer" 1. Now, if I search for "*sen*", result should be &

Custom typeahead using Solr

2018-10-17 Thread Vineet Mangla
Hi All, We have a requirement to create typeahead using Solr with following logic: Let's say my Solr core has a field called jobtitle with two values as "senior software engineer" and "software engineer" 1. Now, if I search for "*sen*", result should be &

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-28 Thread Gaini Rajeshwar
t; > > > at > > > > > > > > > > org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) > > > > at > > > > > > > > > > org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWha

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Joel Bernstein
gt; org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760) > > > at > > > > > > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678) > > > at java.lang.Thread.run(Thread.java:748) >

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Gaini Rajeshwar
hwar < > > raja.rajeshwar2...@gmail.com> wrote: > > > > > I've tried with 7.3 version also and encountering same issue. > > > > > > On Thu, Sep 27, 2018 at 11:02 PM Joel Bernstein > > > wrote: > > > > > >> That is wei

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Joel Bernstein
ndler, and I'm wondering if a bug was > >> introduced. The stack trace you are posting is coming from the node > where > >> the expression is being run. Can you check the logs from the shards to > see > >> if there are errors on the shards? > >> > &g

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Gaini Rajeshwar
;> >> > Also, to mention, if i give q="*:*" it is working fine (which is kind of >> > weird) >> > >> > On Thu, Sep 27, 2018 at 9:35 PM Gaini Rajeshwar < >> > raja.rajeshwar2...@gmail.com> wrote: >> > >> > >

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Gaini Rajeshwar
PM Gaini Rajeshwar < > raja.rajeshwar2...@gmail.com> wrote: > > > Also, to mention, if i give q="*:*" it is working fine (which is kind of > > weird) > > > > On Thu, Sep 27, 2018 at 9:35 PM Gaini Rajeshwar < > > raja.rajeshwar2...@gmail.com>

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Joel Bernstein
ep 27, 2018 at 9:35 PM Gaini Rajeshwar < > raja.rajeshwar2...@gmail.com> wrote: > > > Hi All, > > > > I am using solr 7.4 version. I am trying to export data using streaming > > expressions. > > > > Following is the simple curl query that i am usi

Re: Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Gaini Rajeshwar
Also, to mention, if i give q="*:*" it is working fine (which is kind of weird) On Thu, Sep 27, 2018 at 9:35 PM Gaini Rajeshwar < raja.rajeshwar2...@gmail.com> wrote: > Hi All, > > I am using solr 7.4 version. I am trying to export data using streaming > expressions.

Exporting data using solr streaming expressions is randomly not working

2018-09-27 Thread Gaini Rajeshwar
Hi All, I am using solr 7.4 version. I am trying to export data using streaming expressions. Following is the simple curl query that i am using. I am indexing my data and testing the following query. curl --data-urlencode 'expr=search(collection1, >q="text:solar"

Re: Using Solr / Lucene with OpenJDK

2018-05-10 Thread Shawn Heisey
On 5/10/2018 8:56 AM, Christopher Schultz wrote: What version of OpenJDK did you happen to run? I don't remember for sure, but it was probably version 8. All my current Solr installs are on machines with Oracle Java. My preference would be for Java 8, but on my Debian Wheezy install only Ja

Re: Using Solr / Lucene with OpenJDK

2018-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 4/24/18 11:23 AM, Shawn Heisey wrote: > On 4/24/2018 8:50 AM, Steven White wrote: >> Does anyone use Solr, any version, with OpenJDK? If so, what >> has been you experience? Also, what platforms have you used it >> on? > > I've used it

Re: Using Solr / Lucene with OpenJDK

2018-04-24 Thread Shawn Heisey
On 4/24/2018 8:50 AM, Steven White wrote: We currently support both Oracle and IBM Java to run Solr and I'm task to switch over to OpenJDK. Oracle Java is the preferred choice.  OpenJDK should be work very well, as long as it's at least version 7.  Recent Solr versions require Java 8, so that

Using Solr / Lucene with OpenJDK

2018-04-24 Thread Steven White
Hi everyone, We currently support both Oracle and IBM Java to run Solr and I'm task to switch over to OpenJDK. Does anyone use Solr, any version, with OpenJDK? If so, what has been your experience? Also, what platforms have you used it on? I run Solr on Windows, Linux, AIX and Solaris and on e

Re: Using Solr to search website and external Oracle ServiceCloud

2018-04-11 Thread Emir Arnautović
Hi, You have several options: 1. keep date as is and implement federated search logic with two queries - one to Solr and other to Oracle. PRO: no need to change data flow. CON: Results are not comparable when it comes to scores and you will probably need to present it as separate groups 2. impor

Using Solr to search website and external Oracle ServiceCloud

2018-04-10 Thread jclaros
Hello, I have a drupal website that uses SOLR. When a user searches our website, I would like to now return results from 2 sources: (1) our website (2) our external Oracle ServiceCloud knowledge base Does anyone have any suggestions on how to do this? -- Sent from: http://lucene.472066.n3.nabb

Using Solr to search website and external Oracle ServiceCloud

2018-04-10 Thread jclaros
Hello, I would like to use SOLR to search 2 different sources: (1) My website (2) My external knowledge base created in Oracle Service Could. Right now SOLR works great against my website. I am wanted to integrate my FAQs from the knowledge base into 1 search on the website to make it easier for t

Re: Using Solr to build a product matcher, with learning to rank

2018-03-29 Thread Rahul Singh
, wrote: > Hello, > > I'm considering using Solr with learning to rank to build a product matcher. > For example, it should match the titles: > - Apple iPhone 6 16 Gb, > - iPhone 6 16 Gb, > - Smartphone IPhone 6 16 Gb, > - iPhone 6 black 16 Gb, > to the same internal

Using Solr to build a product matcher, with learning to rank

2018-03-28 Thread Xavier Schepler
Hello, I'm considering using Solr with learning to rank to build a product matcher. For example, it should match the titles: - Apple iPhone 6 16 Gb, - iPhone 6 16 Gb, - Smartphone IPhone 6 16 Gb, - iPhone 6 black 16 Gb, to the same internal reference, an unique identifier. With Solr,

Re: Atomic updates using solr-php-client

2018-03-06 Thread Rick Leir
Sami Why not do the simple case first, with complete document updates. When you have that working, you can decide if you want atomic updates too. Cheers -- Rick On March 6, 2018 2:26:50 AM EST, Sami al Subhi wrote: >Thank you for replying, > >Yes that is the one. Unfortunately there is no docume

Re: Atomic updates using solr-php-client

2018-03-05 Thread Sami al Subhi
Thank you for replying, Yes that is the one. Unfortunately there is no documentation for this library. I tried to implement other libraries but I couldn't get them running. This is the easiest library to implement but lacks support and documentation. Thank you and best regards, Sami -- Sent f

Re: Atomic updates using solr-php-client

2018-03-05 Thread Shawn Heisey
On 3/5/2018 11:38 PM, Sami al Subhi wrote: I am using solr-php-client to interact with solr. I came this example that shows how to add docs: http://www.ayalon.ch/en/code-samples/solr-php-client-example <http://www.ayalon.ch/en/code-samples/solr-php-client-example> I checked "servic

Atomic updates using solr-php-client

2018-03-05 Thread Sami al Subhi
I am using solr-php-client to interact with solr. I came this example that shows how to add docs: http://www.ayalon.ch/en/code-samples/solr-php-client-example <http://www.ayalon.ch/en/code-samples/solr-php-client-example> I checked "service.php" file, more specifica

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
Hi Erick, Yes. Currently I re-index the database on a weekly basis because we only have weekly release. As part of the Solr weekly re-index, the batch job will delete the /solr/core/data folder, restart Solr server, then re-index. We use Luigi to build/control pipelines of Solr re-index batch jobs

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
Hi Erick, Thank you very much for the clarification. I will keep it in my mind since we are now in the process of migrating MySQL database to mongoDB. Best Regards, Wendy a happy Solr user -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Erick Erickson
>From the ref guide: "Field names should consist of alphanumeric or underscore characters only and not start with a digit. This is not currently strictly enforced, but other field names will not have first class support from all components and back compatibility is not guaranteed." You need to _c

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Wendy2
Good morning, Emir, Thanks for letting me know that. I used dots to add tableName. as a field prefix because several columns from different tables have the same names. In your opinion, what will be the best way to replace dots? Happy Friday! Wendy -- Sent from: http://lucene.472066.n3.nabbl

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Erick Erickson
>From the reference guide: Field names should consist of alphanumeric or underscore characters only and not start with a digit. This is not currently strictly enforced, but other field names will not have first class support from all components and back compatibility is not guaranteed. Best, Eric

Re: Help with Boolean search using Solr parser edismax

2018-02-02 Thread Emir Arnautović
Hi Wendy, A bit off-topic, but forgot to mention in previous mail: dots in field names are not recommended. Even it obviously works for you, I think I’ve seen people reporting some issues caused by dot in field names (I cannot find some reference now). So, if you plan some system upgrade in the

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
And the coupon has no expiration date on it (LOL). Thank you again, Emir! Best Regards, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Emir Arnautović
Hi Wendy, You are welcome! I’ll put your lunch coupon in my wallet, just in case I get hungry around NJ ;) Regards, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 1 Feb 2018, at 16:26, Wendy2 wrot

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
Excellent!!! Thank you so much for all your help, Emir! Both worked now and I got 997 result counts back as the expected number :-) /rcsb/search?q=method:"x-ray*" "Solution NMR"&mm=1 /rcsb/search?q=+method:"x-ray*" +"Solution NMR"&mm=1 I will keep this in my mind regarding query with multiple p

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Emir Arnautović
Hi Wendy, Query now looks as expected but you are not getting results as expected. The reason for that is edismax’s mm parameter is what matters. You are setting it to 7 and you have two parts to match so it is always AND and you don’t have such documents. You can set it to 1 and it will be OR.

Re: Help with Boolean search using Solr parser edismax

2018-02-01 Thread Wendy2
Good morning, Emir, Here are the debug output for case 1f-a (q=method:"x-ray*" "Solution NMR"), 1f-b (q=+method:"x-ray*" +"Solution NMR"). both returned zero counts. It looks that the querystrings are the same. Thanks for following up on my post and your help! -- Wendy *=De

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
Hi Wendy, I was thinking of query q=method:“x-ray*” “Solution NMR” This should be equivalent to one with OR between them. If you want to put AND between those two, query would be q=+method:”x-ray*” +”Solution NMR” Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticse

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Wendy2
Hi Emir, Listed below are the debugQuery outputs from query without "OR" operator. I really appreciate your help! --Wendy ===DebugQuery Outputs for case 1f-a, 1f-b without "OR" operator= *1f-a (/search?q=+method:"x-ray*" +method:"Solution NMR") result counts = 0: *

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
Hi Wendy, With OR with spaces OR is interpreted as another search term. Can you try without or - just a space between two parts. If you need and, use + before each part. HTH, Emir On Jan 31, 2018 6:24 PM, "Wendy2" wrote: Hi Emir, Thank you so much for following up with your ticket. Listed belo

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Wendy2
Hi Emir, Thank you so much for following up with your ticket. Listed below are the parts of debugQuery outputs via /search request handler. The reason I used * in the query term is that there are a couple of methods starting with "x-ray". When I used space surrounding the "OR" boolean search opera

Re: Help with Boolean search using Solr parser edismax

2018-01-31 Thread Emir Arnautović
Hi Wendy, I see several issues, but not sure if any of them is the reason why you are not getting what you expect: * there are no spaces around OR and that results in query being parsed sometimes with OR, e.g. (pdb_id:OR\”Solution)^5 * wildcard in quotes - it is not handled as you expected - the

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Wendy2
Hi Emlr, Thank you for reading my post and for your reply. I updated my post with debug info and a better view of the definition of /search request handler. Any suggestion on what I should try? Thanks, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Wendy2
Hi Emir, Thank you so much for your response. I updated my post with an image which display the configuration of the /search request handler. Any suggestions? Thanks, Wendy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Help with Boolean search using Solr parser edismax

2018-01-30 Thread Emir Arnautović
Hi Wendy, It is most likely that you need to list fields that can appear in query using uf. The best way to see what is going on is to use debugQuery and you can see more details how your query is parsed. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearc

Re: Using Solr with SharePoint Online

2018-01-30 Thread Charlie Hull
On 30/01/2018 07:57, Mohammed.Adnan2 wrote: Hello Team, I am a beginner learning Apache Solr. I am trying to check the compatibility of solr with SharePoint Online, but I am not getting anything concrete related to this in the website documentation. Can you please help me in providing some in

Using Solr with SharePoint Online

2018-01-29 Thread Mohammed . Adnan2
Hello Team, I am a beginner learning Apache Solr. I am trying to check the compatibility of solr with SharePoint Online, but I am not getting anything concrete related to this in the website documentation. Can you please help me in providing some information on this? How I can index my SharePoi

  1   2   3   4   5   6   7   8   9   >