mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #278 from open-sausages/pulls/3/autosoftcommit
NEW Ensure commits are visible to seachers (fixes #274)
This commit is contained in:
commit
35c9484f05
@ -379,7 +379,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<autoSoftCommit>
|
<autoSoftCommit>
|
||||||
<maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
|
<maxTime>${solr.autoSoftCommit.maxTime:60000}</maxTime>
|
||||||
</autoSoftCommit>
|
</autoSoftCommit>
|
||||||
|
|
||||||
<!-- Update Related Event Listeners
|
<!-- Update Related Event Listeners
|
||||||
|
@ -1,13 +1,26 @@
|
|||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
|
||||||
|
## Newly indexed content only shows in searches after a delay
|
||||||
|
|
||||||
|
First, check how you're running index operations.
|
||||||
|
In many cases where the `queuedjobs` module is installed,
|
||||||
|
saving or publishing a record will create a new index job which needs to complete first.
|
||||||
|
Solr also distinguishes between adding documents to the indexing,
|
||||||
|
committing them, and making them available to new searches.
|
||||||
|
In most cases this happens within a few seconds, but
|
||||||
|
in sometimes it can take up to a minute due to the
|
||||||
|
`autoSoftCommit` configuration setting defaults in your `solrconfig.xml`.
|
||||||
|
To find out more detail, read about
|
||||||
|
[soft vs. hard commits](https://lucidworks.com/post/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/).
|
||||||
|
|
||||||
## Common gotchas
|
## Common gotchas
|
||||||
|
|
||||||
* By default number-letter boundaries are treated as a word boundary. For example, `A1` is two words - `a` and `1` - when Solr parses the search term.
|
* By default number-letter boundaries are treated as a word boundary. For example, `A1` is two words - `a` and `1` - when Solr parses the search term.
|
||||||
* Special characters and operators are not correctly escaped
|
* Special characters and operators are not correctly escaped
|
||||||
* Multi-word synonym issues
|
* Multi-word synonym issues
|
||||||
* When Dolr indexes are reconfigured and reindexed, their content is trashed and rebuilt
|
* When Solr indexes are reconfigured and reindexed, their content is trashed and rebuilt
|
||||||
|
|
||||||
### CWP-specific
|
## CWP-specific
|
||||||
|
|
||||||
* `solrconfig.xml` customisations fail silently
|
* `solrconfig.xml` customisations fail silently
|
||||||
* Developers aren’t able to test raw queries or see output via the
|
* Developers aren’t able to test raw queries or see output via the
|
||||||
|
Loading…
Reference in New Issue
Block a user