Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-28 Thread Raf
On Wed, Sep 28, 2016 at 3:21 AM, Alexandre Rafalovitch wrote: > Before you go down this rabbit hole, are you actually sure this does > what you think it does? > > As far as I can tell, that parameter is for analyzing/parsing the > synonym entries in the synonym file. Not the incoming search queri

solr hierarchical search hyponyms hypernyms

2016-09-28 Thread marcyborg
Hi, Refering to this post Does Lucene / Solr support hypernyms and hyponyms?, I want to use Solr as a semantic search engine, in order to do a hierarchical search (narrower term, broader term), based on a thesaurus (which is in XML/RDF format). I've not found any tokenizers or filters being able o

Re: Faceting and Grouping Performance Degradation in Solr 5

2016-09-28 Thread Toke Eskildsen
On Tue, 2016-09-27 at 15:08 -0500, Solr User wrote: > Further testing indicates that any performance difference is not due > to deletes.  Both Solr 4.8.1 and Solr 5.5.2 benefited from removing > deletes. Sanity check: Could you describe how you test? * How many queries do you issue for each test?

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread Andrea Gazzarini
Hi, I don't believe there's something for doing that in Solr and personally I'm not aware if someone developed such filter. Please have a look at this exchange [1], where Hoss gave some useful hints about this topic. Best, Andrea [1] http://osdir.com/ml/solr-user.lucene.apache.org/2010-12/ms

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread marcyborg
Hi Andrea, Thanks very much for your helpful link! Is there a way to contact Hoss? About that link, I have two doubts: -) I'm using Solr (5.4.1) in schemaless mode, and I can't manage the schema.xml in order to customize the SynonymFilterFactory; -) If I copy my thesaurus in the synonyms.txt file,

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread Alexandre Rafalovitch
Hoss is like a deity, omniscient and omnipresent. But not answering all prayers for help. You cry to him on this same mailing list and sometimes he gives answers. On the other hand, there is also Stump the Champ if you are going to the Solr Revolution. Regards, Alex P.s. you can actually stil

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread marcyborg
Hi Alex, I was just asking, nothing about prayers and crying, because I'm new in this mailing list. How can I edit managed-schema, if I'm using schemaless configuration? That file doesn't exist in Solr core. Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-hie

Solr Suggester (AnalyzingInfix n BlendedInfix)

2016-09-28 Thread Manohar Sripada
I am implementing auto suggestion on Business Name. I used BlendedInfixLookupFactory which worked in all my uses until I encountered into this bug (https://issues.apache.org/jira/browse/SOLR-7865), where suggest.count doesn't work in Solr 5.2.1. But, I can't upgrade anytime soon. :( I tried using

Re: JNDI settings

2016-09-28 Thread Aristedes Maniatis
On 27/9/16 8:59pm, Jamie Jackson wrote: > In 4, with a separate servlet container, I used externally-defined, > container-managed jndi data sources. However, I'm in the middle of an > upgrade to 5 (before moving on to 6), and I had to add the DIH lib to each > core's solrconfig.xml and add connecti

Solr 5.3 with Maven

2016-09-28 Thread Puneet Dhanda
I am using Solr 5.3, and would need to get it working with Apache Maven(3.1.1). Is there any way the Maven can be configured to start and/or stop the Solr 5.3 (may be by using any maven plugin) ? - Puneet

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread Andrea Gazzarini
Hi Francesco, I think an information it's missing here: what are you trying to do concretely? "Using Solr as semantic search engine" means at the same time everything and nothing :) and (I guess) it involves something more than a thesaurus. Keeping things simple, and assuming your only concern

Solr Spellchecker with weighted Dictionary

2016-09-28 Thread Markus Lang
Hello, is it possible to configure the Solr Spellchecker Component to use a weighted dictionary? At the moment I use the solr.SuggestComponent because it provides the possibility to use a "sourceLocation" with weights for each entry. But this leads me to a different problem: e.g. I have the follo

Re: solr hierarchical search hyponyms hypernyms

2016-09-28 Thread Shawn Heisey
On 9/28/2016 5:07 AM, marcyborg wrote: > How can I edit managed-schema, if I'm using schemaless configuration? > That file doesn't exist in Solr core. When you are using the managed schema class, the "conf" directory (or the zookeeper config location, when running SolrCloud) will contain a file n

How to use Solr 5.3 using Maven ?

2016-09-28 Thread todhanda
I am using Solr 5.3, and would need to get it working with Apache Maven(3.1.1). Is there any way the Maven can be configured to start and/or stop the Solr 5.3 (may be by using any maven plugin) ? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-Solr-5-3-using-Mave

Re: How to use Solr 5.3 using Maven ?

2016-09-28 Thread Andrea Gazzarini
Hi, here [1] you can find one way to do that. You can start such class as a JUnit test or a simple main, using Maven or not. Best, Andrea [1] http://stackoverflow.com/questions/31521345/solr-5-integration-tests-with-maven#33189271 On 28/09/16 15:13, todhanda wrote: I am using Solr 5.3, and

Connect to SolrCloud using proxy in SolrJ

2016-09-28 Thread Preeti Bhat
Hi All, I am trying to connect to the Solrcloud using the zookeeper host string in my java application(CloudSolrClient). I am able to connect to the solrcloud when there are no proxy settings needed, but when trying to connect to the code using proxy settings, I am getting the below error. 1)

warning

2016-09-28 Thread KRIS MUSSHORN
My solr 5.4.1 solrconfig.xml is set up thus: ${solr.lock.type:native} false yet i get a warning on starting the core... 2016-09-28 14:24:06.049 WARN (coreLoadExecutor-6-thread-1) [ ] o.a.s.c.Config Solr no longer supports forceful unlocking via the 'unlockOnStartup' option. This is no lon

RE: how to sampling search result

2016-09-28 Thread Yongtao Liu
Alexandre, Thanks for reply. The use case is customer want to review document based on search result. But they do not want to review all, since it is costly. So, they want to pick partial (from 1% to 100%) document to review. For statistics, user also ask this function. It is kind of common requir

Re: warning

2016-09-28 Thread Shawn Heisey
On 9/28/2016 8:27 AM, KRIS MUSSHORN wrote: > My solr 5.4.1 solrconfig.xml is set up thus: > > class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/> > ${solr.lock.type:native} > false > > yet i get a warning on starting the core... > 2016-09-28 14:24:06.049 WARN (coreLoadExecutor-

Re: how to sampling search result

2016-09-28 Thread Erick Erickson
This is harder than you'd think. You'd have to know how many documents you're going to eventually have in the result set to be able to return only a percentage, which you can't know until you've scored the entire result set. Say you're seeing the 10th document you'd eventually return. How do you k

Re: Solr Suggester (AnalyzingInfix n BlendedInfix)

2016-09-28 Thread Erick Erickson
AnalyzingInfixSuggester is a mini Solr index, it's working as designed by returning the choices you see. I don't think you can persuade it to do what you want OOB. I took a quick look at SOLR-7865 and it's a very simple fix, just 3 lines of code change and the rest is test code. Could you consider

Solr spatial search not returning any results in response element

2016-09-28 Thread Zoomash Team
down votefavorite I am using Solr version 6.2.1 and trying to return closest location for a given latitude and longitude. I have manage to add data into Solr and indexed it. My data f

RE: how to sampling search result

2016-09-28 Thread Pushkar Raste
Purely of algorithmic point of view - look into reservoir sampling for unbiased sampling. On Sep 28, 2016 11:00 AM, "Yongtao Liu" wrote: Alexandre, Thanks for reply. The use case is customer want to review document based on search result. But they do not want to review all, since it is costly.

SolrInputDocument

2016-09-28 Thread Peri Subrahmanya
Hi All, I have a simple case of indexing a SolrInputDocument with few ChildSolrInputDocumnets. For some reason, the child documents aren’t getting indexed. Is there any setting in the schema or config.xml that needs to be updated? Thanks -Peri Subrahmanya

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Erick Erickson
First, nice job of posting enough information to define the problem and allow us to check something! Far too often it takes 3 back-and-forths to get enough info to say anything. Hmm, on the surface that looks OK. I tried using your field definitions, data and query and it works fine on my machine

Re: SolrInputDocument

2016-09-28 Thread Erick Erickson
There is close to zero information here to help diagnose your issue. You might review: http://wiki.apache.org/solr/UsingMailingLists Best, Erick On Wed, Sep 28, 2016 at 10:32 AM, Peri Subrahmanya wrote: > Hi All, > > I have a simple case of indexing a SolrInputDocument with few > ChildSolrInpu

Re: SolrInputDocument

2016-09-28 Thread Peri Subrahmanya
Sorry Erick, There wasn’t much to provide but here is the code snippet: SolrInputDocument sid = new SolrInputDocument(); sid.addField(“someField”, “someValue”); SolrInputDocument childSid = new SolrInputDocument(); childSid.add(“someField”, “someValue”); sid.addChildDocument(childSid); sendToS

Re: SolrInputDocument

2016-09-28 Thread Alexandre Rafalovitch
The default document list returns in the flat form. Try looking up a child document by ID. If that works, look for the child document transformer. Regards, Alex On 29 Sep 2016 12:46 AM, "Peri Subrahmanya" wrote: Sorry Erick, There wasn’t much to provide but here is the code snippet: SolrI

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Zoomash Team
Hi, Thanks for your reply. What format should xml file be for data import? Will something like below be acceptable to my field definition? 1 Test 123,456 2 Test2 78,89 Thanks AA On 28 September 2016 at 18:38, Erick Erickson wrote: > First, nice job of posting enough inf

Re: SolrInputDocument

2016-09-28 Thread Peri Subrahmanya
Thanks Alex, I have “id” as the unique key and so, when the parent and child are getting indexed, shouldn’t the child get an id automatically just like the parent? Is there a configuration setup that would allow for that. Currently when I am adding the child document, i also have to set the “i

unable to add documents to solr 6.2.1 index

2016-09-28 Thread Darshan Pandya
Hello, I am facing the following issue with trying to add documents to a solr 6.2 cloud collection I am facing the following problem curl -X POST -H 'Content-Type: application/json' ' http://host:8983/solr/one/update/json/docs' --data-binary ' { "dataset_id": "1", "search_string": "search do

Re: unable to add documents to solr 6.2.1 index

2016-09-28 Thread Erick Erickson
NoSuchMethod exceptions are _usually_ the result of somehow mixing old and new jars, do you have any older versions of Solr on your machine? How are you starting Solr? A common root cause is using some kind of servlet container and copying Solr jars around to try to make the container happy thus ge

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Erick Erickson
Should be something like: 1125258 Mumgaon 26.3833,93.4833 1125259 Mummasar 28.2167,74.2833 Then just post it to Solr with post.jar. for testing, just to make things simple, I put the XML file in example/exampledocs/eoe.xml and issued the following from that directory. java -Du

Re: unable to add documents to solr 6.2.1 index

2016-09-28 Thread Darshan Pandya
Thank Erick for the pointer. I'll investigate. On Wed, Sep 28, 2016 at 2:20 PM, Erick Erickson wrote: > NoSuchMethod exceptions are _usually_ the result of somehow > mixing old and new jars, do you have any older versions of Solr > on your machine? How are you starting Solr? A common root > caus

Re: Faceting and Grouping Performance Degradation in Solr 5

2016-09-28 Thread Solr User
Certainly. And I would of course welcome anyone else to test this for themselves especially with facet.method=uif to see if that has indeed bridged the gap between Solr 4 and Solr 5. I would be very happy if my testing is invalid due to variance, problem in process, etc. One thing I was ponderin

Re: Faceting and Grouping Performance Degradation in Solr 5

2016-09-28 Thread Solr User
I plan to re-test this in a separate environment that I have more control over and will share the results when I can. On Wed, Sep 28, 2016 at 3:37 PM, Solr User wrote: > Certainly. And I would of course welcome anyone else to test this for > themselves especially with facet.method=uif to see if

Re: slow updates/searches

2016-09-28 Thread Rallavagu
Thanks Erick. I have added queries for "firstSearcher" and "newSearcher". After startup, pmap shows well populated mmap entries and have better QTimes than before. However, phrase queries (edismax with pf2) are still sluggish. The QTimes increase as the number of words in a phrase increase.

Re: Solr Suggester (AnalyzingInfix n BlendedInfix)

2016-09-28 Thread Manohar Sripada
Sure Erick! I will try applying the patch. Thanks On Wednesday, September 28, 2016, Erick Erickson wrote: > AnalyzingInfixSuggester is a mini Solr index, it's working > as designed by returning the choices you see. I don't think > you can persuade it to do what you want OOB. > > I took a quick