Check this out:
How to stop solr with command line - Stack Overflow
http://stackoverflow.com/questions/7976261/how-to-stop-solr-with-command-line
But I never use it. Guess that because I always use a illegal-ip-address
private server, I never come around a secret key to be used at start/stop.
Hi devs,
Past couple of days I was trying to get solr suggestions work with my
applications. The requirement is as follows,
I have some codes eg :abcdef2. I should be able to type "2000" and get
suggestions as abcdef2.
I index the field containing the code to a ngram field (standard
an
Hi,
is there any way in SOLR 5.3 to achieve grouping and do mathematical
operations like sum, avg on a certain document property?
Please find below example:
HIKS
Hotel Holiday Inn King's cross
4
40.99
HIKS
Hotel Holiday Inn King's cross
4
40.99
HIKS
Hotel Holiday Inn K
Hi,
I am a returner to solr with limited experience in solr-5.2 now diving into
solr-6.1. My problem is
how to specify a tailored schema.xml
After reading several tutorials and book chapters about how to configure
schema.xml I have a basic understanding about its concepts and structure.
Now I cr
Using the json facet api is quite easy
Check out: http://yonik.com/json-facet-api/#TermsFacet
http://solr:8983/solr/your_collection/select?q=*:*&wt=json&indent=true&json.facet=
{
property_codes_group_by : {
type : terms,
field : property_code,
facet : { sum_price : "sum(price)" }
}
I have the minimal 5.5 version that should work with 6.1 at:
https://github.com/arafalov/simplest-solr-config/tree/master/solr-5.5/configset
It is obviously not a good production setup (e.g. no cache), but could
be a start to understanding. It uses classical schema.xml approach,
and not a dynamic
On Fri, Jul 29, 2016 at 06:46:23AM +, Srinivasa Meenavali wrote:
> Can somebody explain advantage of Stop solr with "-k" option ?
Please don't start a new thread by replying to a message in an existing
thread.
http://wikibin.org/articles/thread-hijacking.html
Paul.
--
Paul Hoffman
Syste
On 7/28/2016 1:29 PM, Demian Katz wrote:
> I develop an open source project
> (https://github.com/vufind-org/vufind) that depends on Solr, and I'm
> trying to figure out if there is a better way to manage the Solr
> dependency. Presently, I simply bundle Solr with my software by
> committing the la
On 7/27/2016 12:37 PM, Rachid Bouacheria wrote:
> I know that there still is the option to use schema.xml by using the
> ClassicIndexSchemaFactory but I am curious to hear from y'all that use
> managed schema how you are doing it and if there are any downside,
> gotchas, or if all is just much bett
Hello,
I was wondering where I should put the configuration. I can see
from the sample solrconfig.xml that they are defined under the
and elements.
The Schema API for listeners does not specify a parent of type updateHandler or
query so I wanted to know if I also define them directly unde
Can't you use Maven? I thought that was the standard dependency management
tool, and Solr is published to Maven repos. There used to be a solr
artifact which was the WAR file, but presumably now, you'd have to pull down
org.apache.solr
solr-parent
and maybe then start that up.
We have an i
Thanks Alexandre for your minimal config example!
I am trying to use it as start to understanding, but I cannot get it
running. To make it more explicit:
I am running a freshly installed solr 6.1.0. Suppose I am in its home
directory for the following steps:
solr-6.1.0$ bin/solr start
solr-6.1.
Ok, I just figured out myself: I have to "commit" the newly updated files.
One way (probably not the best) is to restart solr again. The alternative
way: For an autocommit there is an option to configure in solrconfig.xml.
Now the query returns results.
Is there a method to re-index a single soll
@ Immanuel --
Not sure if this is what you're asking for, but inside /opt/solr/bin is a
post script that allows you to "post" the contents of a file to Solr..
./post -help will get you the list of options. You could submit films.xml
for indexing this way I believe.
On Fri, Jul 29, 2016 at 9:57
Hi Folks,
I didn't hear back from anyone on this and just wanted to ping again to see if
anyone had any thoughts.
FWIW we are using SolrCloud (Solr 5.3.1) with a separate dedicated ZooKeeper
ensemble.
-Frank
From: Frank J Kelly mailto:frank.ke...@here.com>>
Reply-To: "solr-user@lucene.ap
Scenario : Legacy replication
Slaves fetch the index from the master, Slaves are only used to serve
searches.
I want the slaves to keep a backup.
I want to automatically start the backup after each replication end.
I set up the slaves to be both master and slave ( repetitor ) .
No one willa ctua
> I wouldn't include Solr in my own project at all. I would probably
> request that the user download the binary artifact and put it in a
> predictable location, and configure my installation script to do the
> download if the file is not there. I would strongly recommend taking
> advantage of Ap
I did think about Maven, but (probably because I'm a Maven newbie) I didn't
find an obvious way to do it and figured that Maven was meant more for
libraries than for complete applications. In any case, your answer gives me
more to work with, so I'll do some experimentation. Thanks!
- Demian
___
Rachid is exactly right. There's a long story here, I had
the bright idea of editing the schema directly from the admin UI
and one of the folks who, you know, understands browsers
did the heavy lifting and then we were alerted to the fact that
this is a huge security issue (i.e. uploading arbit
Commits are, as you've found, necessary to find documents you index.
They can be configured to auto fire in solrconfig.xml, but there are variants.
Here's a long explanation:
https://lucidworks.com/blog/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/
Even though this
You need to set the "spellcheck.maxCollationTries" parameter to a value greater
than zero. The higher the value, the more queries it checks for hits, and the
longer it could potentially take.
See
https://cwiki.apache.org/confluence/display/solr/Spell+Checking#SpellChecking-Thespellcheck.maxCol
Hi Lasitha,
do you need only to suggest terms ?
In that case I would *suggest* you to use the suggester component.
Specifically your use case is infix suggestion.
This can be easily achieved using an AnalyzingInfixSuggester :
AnalyzingInfixSuggester
AnalyzingInfixLookupFactory
DocumentDict
Dear Solr User,
Solr 5.0.1
I have several xml files that contains html entities in some fields.
I have a author field (english text) with this kind of text:
Brown & Gammon
If I set my field like this:
Brown & Gammon
Solr generates error "Undeclared general entity"
if I add CDATA like this:
: I have several xml files that contains html entities in some fields.
...
: If I set my field like this:
:
: Brown & Gammon
:
: Solr generates error "Undeclared general entity"
...because that's not valid XML...
: if I add CDATA like this:
:
:
:
: it seems that I can't search wit
Hi Chris,
Thanks for your answer, and I add a little thing,
after checking my log it seems that it concerns only some html entities.
No problem with & but I have problem with:
ü
“
etc...
I will check your answer to find a solution,
Thanks !
Le 29/07/2016 à 23:58, Chris Hostetter a écrit :
:
On 7/29/2016 4:05 PM, Bruno Mannina wrote:
> after checking my log it seems that it concerns only some html entities.
> No problem with & but I have problem with:
>
> ü
> “
> etc...
Those are valid *HTML* entities, but they are not valid *XML* entities.
The list of entities that are valid in XML
: By setting onlyIfDown=false, it did remove the replica. But still return a
: failure message.
: That confuse me.
yeah, there's a lot going on here that should definitley be
fixed/improved -- having just tried to walk a mile in your shoes I
realized it's even more confusing then i first realiz
: I'd argue that the behavior is incorrect. Could you raise a JIRA?
that behavior was intentionally added becaus most users kept getting
really confused by the older default behavion (which was previously a
0-length prefix against hte default search field)
https://issues.apache.org/jir
Try this:
> bin/solr start
> bin/solr create_core -c simplestcore -d
> ~/Projects/simplest-solr-config/solr-5.5/configset/
> bin/post -c simplestcore example/exampledocs/*.xml
All unknown strings are multivalued text strings and copied to "text"
field. Enough for you to index anything and do tes
What about (not tried) pulling down an official Docker build and
adding your stuff to that?
https://hub.docker.com/_/solr/
Regards,
Alex.
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/
On 30 July 2016 at 03:03, Demian Katz wrote:
>> I wouldn't
30 matches
Mail list logo