Re: Unable to find query result in solr 5.0.0

2015-03-16 Thread rupak
Hi Jack Krupansky, We are following the apache-solr-ref-guide-5.0 doc for installation. But when I am going to execute Post command via "$ bin/post -c gettingstarted example/exampledocs/*.json" in Command prompt *"'post' is not recognized as an internal or external command, operable program or ba

Want to modify Solr Source Code

2015-03-16 Thread Nitin Solanki
Hi, I want to modify the solr source code. I don't have any idea where source code is available. I want to edit source code. How can I do ? Any help please...

Admin extra menu becomes invisible

2015-03-16 Thread Dikshant Shahi
Hi, I uncommented the html tags in admin-extra.menu-top and admin-extra.menu-bottom. It works fine when I select the core from the dropdown but once I click on any other tab like Replication, Dataimport etc, it disappears. I tried it in Solr 4.6.1 and Solr 5.0.0 and the behavior is same. I could

maxQueryFrequency v/s thresholdTokenFrequency

2015-03-16 Thread Nitin Solanki
Hello Everyone, Please anybody can explain me what is the difference between maxQueryFrequency and thresholdTokenFrequency? Got the link - http://wiki.apache.org/solr/SpellCheckComponent#thresholdTokenFrequency but unable to understand.. I am very much confusing in both of

Re: Nginx proxy for Solritas

2015-03-16 Thread LongY
Thanks to Erik and Shawn, I figured out the solution. * place main.css in velocity folder into /usr/share/nginx/html/solr/collection1/admin/file/ * don't forget to change the permission of main.css by sudo chmod 755 main.css * add main.css to the configuration file of Ngix: server { listen

Re: Nginx proxy for Solritas

2015-03-16 Thread Erik Hatcher
Have a look at the requests being made to Solr while using /browse (without nginx) and that will show you what resources need to be accessible. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Mar 16, 2015, at 4:42 PM, LongY wrote: > >

Re: discrepancy between LuceneQParser and ExtendedDismaxQParser

2015-03-16 Thread Jack Krupansky
There was a Solr release with a bug that required that you put a space between the left parenthesis and the "*:*". The edismax parsed query here indicates that the "*:*" has not parsed properly. You have "area", but in your jira you had a range query. -- Jack Krupansky On Mon, Mar 16, 2015 at 6:

discrepancy between LuceneQParser and ExtendedDismaxQParser

2015-03-16 Thread Arsen
Hello, Found discrepancy between LuceneQParser and ExtendedDismaxQParser when executing following query: ((*:* AND -area) OR area:[100 TO 300]) AND objectId:40105451 When executing it through Solr Admin panel and placing query in "q" field I having following debug output for LuceneQParser --

RE: Relevancy : Keyword stuffing

2015-03-16 Thread Markus Jelsma
Hello - Chris' suggestion is indeed a good one but it can be tricky to properly configure the parameters. Regarding position information, you can override dismax to have it use SpanFirstQuery. It allows for setting strict boundaries from the front of the document to a given position. You can als

Re: Nginx proxy for Solritas

2015-03-16 Thread Shawn Heisey
On 3/16/2015 2:42 PM, LongY wrote: > Thank you for the reply. > > I also thought the relevant resources (CSS, images, JavaScript) need to > be accessible for Nginx. > > I copied the velocity folder to solr-webapp/webapp folder. It didn't work. > > So how to allow /browse resource accessible by th

Re: Relevancy : Keyword stuffing

2015-03-16 Thread Mihran Shahinian
Thank you Markus and Chris, for pointers. For SweetSpotSimilarity I am thinking perhaps a set of closed ranges exposed via similarity config is easier to maintain as data changes than making adjustments to fit a function. Another piece of info would've been handy is to know the average position inf

Re: Whole RAM consumed while Indexing.

2015-03-16 Thread Ramkumar R. Aiyengar
Yes, and doing so is painful and takes lots of people and hardware resources to get there for large amounts of data and queries :) As Erick says, work backwards from 60s and first establish how high the commit interval can be to satisfy your use case.. On 16 Mar 2015 16:04, "Erick Erickson" wrote

Re: Nginx proxy for Solritas

2015-03-16 Thread LongY
Thank you for the reply. I also thought the relevant resources (CSS, images, JavaScript) need to be accessible for Nginx. I copied the velocity folder to solr-webapp/webapp folder. It didn't work. So how to allow /browse resource accessible by the Nginx rule? -- View this message in context

Re: Nginx proxy for Solritas

2015-03-16 Thread Erik Hatcher
The links to the screenshots aren’t working for me. I’m not sure what the issue is - but do be aware that /browse with its out of the box templates do refer to resources (CSS, images, JavaScript) that isn’t under /browse, so you’ll need to allow those to be accessible as well with different rul

Nginx proxy for Solritas

2015-03-16 Thread LongY
Dear Community Members, I have searched over the forum and googled a lot, still didn't find the solution. Finally got me here for help. I am implementing a Nginx reverse proxy for Solritas (VelocityResponseWriter) of the example included in Solr. . Nginx listens on port 80, and solr runs on port

Re: Data Import Handler - reading GET

2015-03-16 Thread Alexandre Rafalovitch
Have you tried? As ${dih.request.foo}? Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 16 March 2015 at 14:51, Kiran J wrote: > Hi, > > In data import handler, I can read the "clean" query parameter using > ${dih.request.clea

Re: indexing db records via SolrJ

2015-03-16 Thread Jean-Sebastien Vachon
Do you have any references to such integrations (Solr + Storm)? Thanks From: mike st. john Sent: Monday, March 16, 2015 2:39 PM To: solr-user@lucene.apache.org Subject: Re: indexing db records via SolrJ Take a look at some of the integrations people are

Data Import Handler - reading GET

2015-03-16 Thread Kiran J
Hi, In data import handler, I can read the "clean" query parameter using ${dih.request.clean} and pass it on to the queries. Is it possible to read any query parameter from the URL ? for eg ${foo} ? Thanks

Re: Relevancy : Keyword stuffing

2015-03-16 Thread Chris Hostetter
You should start by checking out the "SweetSpotSimilarity" .. it was heavily designed arround the idea of dealing with things like excessively verbose titles, and keyword stuffing in summary text ... so you can configure your expectation for what a "normal" length doc is, and they will be pena

Re: indexing db records via SolrJ

2015-03-16 Thread mike st. john
Take a look at some of the integrations people are using with apache storm, we do something similar on a larger scale , having created a pgsql spout and having a solr indexing bolt. -msj On Mon, Mar 16, 2015 at 11:08 AM, Hal Roberts < hrobe...@cyber.law.harvard.edu> wrote: > We import anywher

Re: Solr tlog and soft commit

2015-03-16 Thread vidit.asthana
Can someone please reply to these questions? Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-tlog-and-soft-commit-tp4193105p4193311.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Deleted Docs Issue

2015-03-16 Thread Erick Erickson
bq: If this operation is continuously done I would end up with a large set of deleted docs which will affect the performance of the queries I hit on this solr. No, you won't. They'll be "merged away" as background segments are merged. Here's a great visualization of the process, the third one down

Re: Whole RAM consumed while Indexing.

2015-03-16 Thread Erick Erickson
First start by lengthening your soft and hard commit intervals substantially. Start with 6 and work backwards I'd say. Ramkumar has tuned the heck out of his installation to get the commit intervals to be that short ;). I'm betting that you'll see your RAM usage go way down, but that' s a gue

RE: Relevancy : Keyword stuffing

2015-03-16 Thread Markus Jelsma
Hello - setting (e)dismax' tie breaker to 0 or much low than default would `solve` this for now. Markus -Original message- > From:Mihran Shahinian > Sent: Monday 16th March 2015 16:29 > To: solr-user@lucene.apache.org > Subject: Relevancy : Keyword stuffing > > Hi all, > I have a use

Re: Solr Deleted Docs Issue

2015-03-16 Thread Shawn Heisey
On 3/16/2015 9:11 AM, vicky desai wrote: > I am having an issue with my solr setup. In my solr config I have set > following property > *10* The mergeFactor setting is deprecated ... but you are setting it to the default value of 10 anyway, so that's not really a big deal. It's possible that merg

thresholdTokenFrequency changes suggestion frequency..

2015-03-16 Thread Nitin Solanki
Hi, I am not getting that why suggestion frequency goes varies from original frequency. Example - I have a word = *who* and its original frequency is *100* but when I find suggestion of it. It suggestion goes change to "*50*". I think it is happening because of *thresholdTokenFrequency*. Whe

Relevancy : Keyword stuffing

2015-03-16 Thread Mihran Shahinian
Hi all, I have a use case where the data is generated by SEO minded authors and more often than not they perfectly guess the synonym expansions for the document titles skewing results in their favor. At the moment I don't have an offline processing infrastructure to detect these (I can't punish the

Solr Deleted Docs Issue

2015-03-16 Thread vicky desai
Hi, I am having an issue with my solr setup. In my solr config I have set following property *10* Now consider following situation. I have* 200* documents in my index. I need to update all the 200 docs If total commit operations I hit are* 20* i.e I update batches of 10 docs merging is done after

Re: indexing db records via SolrJ

2015-03-16 Thread Hal Roberts
We import anywhere from five to fifty million small documents a day from a postgres database. I wrestled to get the DIH stuff to work for us for about a year and was much happier when I ditched that approach and switched to writing the few hundred lines of relatively simple code to handle dire

Re: indexing db records via SolrJ

2015-03-16 Thread Shawn Heisey
On 3/16/2015 7:15 AM, sreedevi s wrote: > I had checked this post.I dont know whether this is possible but my query > is whether I can use the configuration for DIH for indexing via SolrJ You can use SolrJ for accessing DIH. I have code that does this, but only for full index rebuilds. It won't

Re: Solr returns incorrect results after sorting

2015-03-16 Thread david.w.smi...@gmail.com
I noticed you have an ‘&’ immediately preceding the "geodist() asc" at the very end of the query/URL; that’s supposed to be a comma since group.sort is a comma delimited list of sorts. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley

Re: indexing db records via SolrJ

2015-03-16 Thread sreedevi s
Hi, I had checked this post.I dont know whether this is possible but my query is whether I can use the configuration for DIH for indexing via SolrJ Best Regards, Sreedevi S On Mon, Mar 16, 2015 at 4:17 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello, > > Did you see the great p

Re: [Poll]: User need for Solr security

2015-03-16 Thread Ahmet Arslan
Hi John, ManifoldCF in Action book is publicly available to anyone : https://manifoldcfinaction.googlecode.com/svn/trunk/pdfs/ For solr integration please see : https://svn.apache.org/repos/asf/manifoldcf/integration/solr-5.x/trunk/README.txt Ahmet On Friday, March 13, 2015 2:50 AM, "johnmu...

[ANNOUNCE] Luke 4.10.4 released

2015-03-16 Thread Dmitry Kan
Hello, Luke 4.10.4 has been released. Download it here: https://github.com/DmitryKey/luke/releases/tag/luke-4.10.4 The release has been tested against the solr-4.10.4 based index. Changes: Trivial pom upgrade to lucene 4.10.4. Got rid of index version warning on the index summary tab Luke is no

Solr returns incorrect results after sorting

2015-03-16 Thread kumarraj
Hi, I am using group.sort to internally sort the values first based on store(using function),then stock and finally distance and sort the output results based on price, but solr does not return the correct results after sorting. Below is the sample query: q=*:*&start=0&rows=200&sort=pricecomm

Re: indexing db records via SolrJ

2015-03-16 Thread Mikhail Khludnev
Hello, Did you see the great post http://lucidworks.com/blog/indexing-with-solrj/ ? On Mon, Mar 16, 2015 at 1:30 PM, sreedevi s wrote: > Hi, > > I am a beginner in Solr. I have a scenario, where I need to index data from > my MySQL db and need to query them. I have figured out to provide my db

indexing db records via SolrJ

2015-03-16 Thread sreedevi s
Hi, I am a beginner in Solr. I have a scenario, where I need to index data from my MySQL db and need to query them. I have figured out to provide my db data import configs using DIH. I also know to query my index via SolrJ. How can I do indexing via SorJ client for my db as well other than readin

Re: [Poll]: User need for Solr security

2015-03-16 Thread Jan Høydahl
Hi, We tend to recommend ManifoldCF for document level security since that is exactly what it is built for. So I doubt we'll see that as a built in feature in Solr. However, the Solr integration is really not that advanced, and I also see customers implementing similar logic themselves with suc

Re: solr 4.7.2 mergeFactor/ Merge policy issue

2015-03-16 Thread Dmitry Kan
Hi, I can confirm similar behaviour, but for solr 4.3.1. We use default values for merge related settings. Even though mergeFactor=10 by default, there are 13 segments in one core and 30 segments in another. I am not sure it proves there is a bug in the merging, because it depends on the TieredMer