174
questions
0
votes
0
answers
23
views
Index created with Solr 5.3.1 has lucene version 1.2 or negative
I am using Solr 5.3.1 and wish to upgrade this to 6.5
To upgrade this i tried using CheckIndex and IndexUpgrader tool.
Initially i started with lucene-core-6.5.0 and lucene-backward-codec-6.5.0 as ...
1
vote
2
answers
448
views
Upgrading Solr 6 to use Log4j 2.x
Is it possible to upgrade Solr 6 to use Log4j 2.x?
We have some external dependencies on Solr 6 but would like to upgrade Log4j to the latest.
1
vote
1
answer
357
views
Alfresco - advanced search gives 0 results when using the wildcard(*) with the text value
For custom document type when I use advanced search for searching the particular documents that have same custom property, with writing complete property value in advanced search gives expected result(...
0
votes
0
answers
156
views
Solr Query for Multiple value data
I want to search data in multiple category,
Steps -
If I search a keyword on my website it will show results that matches on all category.
Then I will choose multiple category filter from which ...
1
vote
0
answers
83
views
Solr delay in writing response (delta between qtime and real time, delay in response chunks)
I have started facing issues after upgrading to solr version 6 from solr 4. The response time of queries with larger response > 20KB has increased significantly. Upon looking at the response i see ...
0
votes
0
answers
483
views
Enable/Disable Solr Admin Features
Is it a way to enable or disable solr features only for admin console or dashboard. For example, I want that someone can import data only by using curl command and not by accessing through the admin ...
0
votes
1
answer
1k
views
Apache Solr - Error loading class solr.NestPathField for solr version 6.5
Trying to have nested child documents inside managed schema in solr 6.5 as -
<fieldType name="_nest_path_" class="solr.NestPathField"/>
<field name="_root_" type="string" indexed="true" ...
1
vote
1
answer
320
views
GC / OOM problems with Alfresco Search Services and OpenJDK11
I updated Alfresco Search Services from 1.3 to 1.4 which forced me to also update OpenJDK from 8 to 11. Running Alfresco Search Services 1.3 with jdk8 worked without any OutOfMemoryExceptions during (...
0
votes
1
answer
366
views
Creating Solr shards in Alfresco 6.1 CE
After migrating to Alfresco CE 6.1 (201901 GA) and Alfresco Search Services we have massive search performance problems. So I tried to configure sharding in solr by following Creating Solr shards ...
1
vote
2
answers
4k
views
Not able to delete solr documents (using a query) either using post tool or URL
I am not able to delete solr documents (using a query) either using post tool or URL.
Please note, my solr is configured with basic authentication.
Solr Version : 6.6
I tried two ways,
Using post ...
1
vote
2
answers
235
views
generate random numbers between two limits in solr
We have a requirement to add a random number to a field and sort it .
eg; we have rank which is integer in each document. we need to add some random number between 1-10 to rank field in each document ...
0
votes
1
answer
50
views
How to trim the attributes value in solr direclty
Can we use TrimFieldUpdateProcessorFactory to trim the values of a particular /all the attributes directly in solr from document screen, without resyncing the full data.
1
vote
1
answer
4k
views
How to add custom delimiter to a csv file while indexing in apache solr
I am new to apache solr and I am currently working with the version solr-6.4.0
I am trying to index a csv file in solr. Instead of using the default delimiter "," I would like to use a custom ...
1
vote
1
answer
642
views
How to restrict IPs in a clustered Solr environment using IPAccessHandler?
We have a clustered system of Solr (two instances running in two servers) where the quorum is being maintained using zookeeper. We can access Solr by either hitting the direct server URLs or a blanket ...
0
votes
1
answer
142
views
Lock a specific document for edits in Solr
Is there a way to lock a specific document for edits/removals in Solr6 or Solr7?
For example, I read a document, based on its contents I see that it should be updated or removed. Then I send update/...
1
vote
2
answers
1k
views
How to install solr 6.x with Homebrew?
I want to install solr 6.6.1 and solr 6.4.1 with homebrew on my Mac.
With brew install solr, by default version 8 is installed.
With brew search solr i can only find solr versions 7.7 & 8. How ...
1
vote
1
answer
5k
views
How can I query Solr to get a list with all field-names prefixed by a string?
I would like to create an output based on the field-names of my Solr index objects.
What I have are objects like this e.g.:
{
"Id":"ID12345678",
"GroupKey":"Beta",
"PricePackage":5796.0,
...
0
votes
0
answers
310
views
Solr highlighting words in synonyms.txt along with query terms
I am a newbie to Solr and trying to find out what is the general solution being used for the multi-word synonym issue with highlighting:
1. When we search for a hair brush, the word toothbrush is ...
2
votes
0
answers
398
views
Adding rare languages to Apache Solr
We would like to add support for Filipino, Lao, Malaysian and Vietnamese to our Solr Index (Solr v4 and Solr v6) and would be delighted to get hints on what Tokenizer to use.
For Lao I found that the ...
1
vote
1
answer
123
views
AND in solr query returns more results
First of all, I'm not very experienced in using Solr, so I hope this isn't a stupid question ..
I am experiencing some unexpected behavior with a Solr query. Suppose the query is q="Foo:"Bar" . Now ...
0
votes
1
answer
435
views
SOLR - boost a field score with boost function on another field
Let's say I have 4 fields: field1,field2,field3 and boost1 and a boost function f. I want to obtain a score field1_score+field2_score*f(boost1)+field3_score*f(boost1) which should look like q=field1:...
1
vote
1
answer
1k
views
How to have the same SOLR core for both 8983 and 8984 ports
I am using Apache SOLR 6.6.5 as my search engine running on port 8983. I just wanted to enable SSL for solr and followed this guide to make it work under 8984 port with SSL.
Here my problem is that I ...
1
vote
0
answers
554
views
Web Server HTTP Header Internal IP Disclosure SOLR port
I am using Apache SOLR 6.6.5 as my search engine and when we do security scan on our server, we got the below response
When processing the following request : GET / HTTP/1.0 this web server leaks ...
0
votes
0
answers
298
views
Parameter Dereferencing in solr json facet
I am using solr6.6. I am trying to use parameter Dereferencing for json facets.
There can be multiple prices for all the documents(assume sp, price1, price2, price3, price4 are the prices for all the ...
0
votes
1
answer
195
views
Delta Import Causing Solr Response To Double OR Even Worse
SOLR VERSION 6.0.0
There is spike which can be observed at every 2 hours.
i.e whenever delta import runs
Response time doubles
CPU load average doubles and if it runs to near to peal hour than it ...
0
votes
1
answer
2k
views
Solr query - URL too long when I request for search with large number of facet
I'm using solr-6.4.2 version and I've large number of facet fields.
When I request for query, it's log in Solr Log file with "URL to long" and not returning any item result.
I'm using SolrNet and it ...
0
votes
1
answer
422
views
Transfer SOLR ConfigSet to new cluster
I am currently running a cloud SOLR6 service in Kubernetes 3 Zookeeper servers and 6 nodes
I recently deployed a new cloud SOLR6 service for dev purposes, but it requires the same schema structures ...
0
votes
1
answer
47
views
How to search the field which could contains spaces,- and a concatenated number.?
Hi I have a field with the following schema,
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr....
1
vote
1
answer
2k
views
Solr's TimeZone behaviour differs for EST and PST
I'm using Solr-6.2.1 on windows.
When setting set SOLR_TIMEZONE=PST, in solr.in.cmd file, dataimport.properties file saves last_index_time in PDT i.e. UTC-07:00.
When setting set SOLR_TIMEZONE=EST, ...
1
vote
1
answer
1k
views
Index only plain text from HTML in solr
I need to index only plain text from HTML and reject all other HTML tags.
For Example: I have html like
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
title
...
1
vote
0
answers
568
views
Can I use Solr DocumentObjectBinder and Field annotation to create recursively nested documents?
We are using Solr version 6.4.
By submitting documents through the Solr web interface, I am able to add documents to our Solr index that are nested to arbitrary depth. We are only interested in ...
0
votes
3
answers
1k
views
Solr 6.2.1 - Bad Request (400) - Invalid content type application/x-www-form-urlencoded; (ManagedSynonymsFilterFactory)
Using following query to add a new synonym mapping, you can PUT/POST a single mapping. (ManagedSynonymFilterFactory)
curl -X PUT -H 'Content-type:application/json' --data-binary
'{"mad":["angry","...
0
votes
1
answer
114
views
Solr PatternTokenizerFactory does not work with phrases
I can't get PatternTokenizerFactory to match multiple words at a time. If I use a simple expression such as "^keyword$" and search for "keyword", it will work
<tokenizer class="solr....
0
votes
0
answers
555
views
How to sort on sorted group documents in SOLR?
We use Solr for our product search. We have two price fields ie. price and publicPrice.
Here are my docs
{"docs":[{
"price":75.68,
"publicPrice":75.68,
"productID"...
0
votes
0
answers
291
views
Why solr is not giving any results for a term after adding synonyms for that term in synonyms_query.txt?
I am using apache-solr6.6.0 as a search engine for my project.I was about to add some synonyms for some terms in solr.For example- I had to add tshirts,polo shirts,jersey as synonyms.I added them in ...
0
votes
1
answer
1k
views
Solr v6.6.3 throwing IOexception while using custom searchHandler
I have installed and configured SOLR 6.6.3 on linux OS. And have configure the DIH and a search handler called filesearch which is having simple shard as locolhost:8983/solr/fI_idx. But there is a ...
0
votes
0
answers
23
views
solr - Stop facet calculation by sending a request to solr
I have an index with 1M docs and 50 facets. Out of the 50 facets I want solr to stop calculating 1 facet (i.e. brand_facet) only sometimes when issued a search request using /search handler. It is a ...
0
votes
1
answer
109
views
Get only partially matching records in Solr
Is there a way to get records which matches a query partially in Solr.
For &q="java enterprise" in the below mentioned records,
{
"name":"java",
"case:"enterprise",
},
{
"name":"java ...
1
vote
0
answers
63
views
Improvements in Autosuggest Solr
I am a newbie in Solr and I have been assigned a task to improve autosuggest
for our product.We are using Solr 6.6.0.The current requirement is when user
search for Shirts , the results ...
0
votes
0
answers
242
views
Solr query field precedence
I have a requirement in solr to search for data in the following order for field name:
exact match
string begins with the word
string has the exact word in it
fuzzy match - for this i am using ~ ...
0
votes
1
answer
154
views
Cannot index decimal values from CSV
I'm using SOLR 6.6.2 and im trying to update a core with a CSV file of vehicle data.
Each column of data consists of various datatypes such as ints, string, dates and decimal values.
The problem is ...
1
vote
0
answers
1k
views
Error loading class 'solr.VelocityResponseWriter'
I am trying to setup /browse functionality of solr, referring this documentation. I have done the following
Added velocity-1.7.jar, velocity-tools-2.0.jar, commons-beanutils-1.8.3.jar, commons-...
0
votes
0
answers
380
views
solr response vs qtime
I have a solr query that has a qtime of 30-40ms. The response time varies around 200ms.
Fetching 800 documents at a time
Returning 10 fields from the search query
solr version 6.6
Solr Qtime - ~...
0
votes
2
answers
5k
views
Where is $SOLR_HOME in SOLR 6.6.2?
I am trying to setup Basic Authentication for SOLR, and trying to follow their instructions: https://lucene.apache.org/solr/guide/6_6/basic-authentication-plugin.html
I created the security.json file,...
0
votes
1
answer
211
views
Match single value of multivalued daterange field
Say I have a field defined in my schema and then indexed as 'dmvf_rab_date_range'
<fieldType name="date_range" class="solr.DateRangeField" multiValued="true" indexed="true"/>
<dynamicField ...
2
votes
0
answers
781
views
Solr Master/Slave SSL Replication Configuration
I need to use SSL in my Master/Slave Solr 6.6.2 environment. This is Solr on Windows as the governance requires all servers to be Windows.
I had created a localhost SSL Cert on the Master (works on ...
2
votes
0
answers
213
views
Schema vs Index vs Properties in solr schema screen
what does it mean if something has tick mark for "Indexed" in "Schema" but not for "Indexed" in "Index"?
0
votes
1
answer
277
views
Pivot Faceting on multiple fields gives me proper count and 1st record . Is it possible to get all the records?
This is my query:
select?q=TYPE:event_time:[2018-04-09T12:36:15.054Z%20TO%202018-04-09T12:36:20.054Z]&fq=FRUIT:Apple&facet.pivot=PROVIDER,SUMMARY&facet=on&facet=true&facet.field=...
1
vote
0
answers
72
views
Sorting groups in solr by top result in each group
Is there a way to sort groups in solr based on just the top result in the group and not all the members? For example, I'm grouping product variants by model, and sorting each group by the number of ...
1
vote
0
answers
238
views
Very large values in Field length value "fieldLength" Solr BM25
I have encountered an issue in the calculation of fieldLength value in Solr 6. I am using BM25 as the similarity measure. When i index a set of documents, the fieldLength values for these documents ...