Questions tagged [solr]

1

votes
2

answer
31

Views

Solr IOException on spanish characters (films example)

Specs: Solr 7.7.1. Ubuntu Linux 18.04. I've been following this tutorial https://www.youtube.com/watch?v=5gPhZm9XzAY&feature=youtu.be to simply create a solr core and post data from the films example packaged with Solr. I used the command bin/post -c films example/films/films.xml and received th...
Randall Coding
1

votes
1

answer
63

Views

Not able to access smartedit url https://localhost:9002/smartedit

I followed the steps provided in the wiki to install smartedit. After installation of the same.. I tried to access the smartedit url https://localhost:9002/smartedit. But it is throwing 404 page and the following exception: error expected mime type application octet stream but got text Error 404 Not...
Pavan yvs
1

votes
2

answer
1.4k

Views

how to run SolrCloud with docker-compose

Please help me with docker-compose file. Right now, i'm using Solr in docker file, but i need to change it to SolrCloud. I need 2 Solr instances, an internal Zookeeper and docker (local). This is an example of docker-compose file I did: version: '3' services: mongo: image: mongo:latest container_...
Ronny Lee
1

votes
1

answer
41

Views

Amazon like refined filtering in solr

We need to implement drill down search like Amazon. If any supplier is selected then, currently it disabled rest of suppliers as solr facet only returns that selected filter. query: supplier:supplierId Though above query retuns multiple Screen Color/Screen Size, but on further selection, only the se...
Niranjan Kumar
4

votes
0

answer
137

Views

Writing / Updating external field file for Solr via Solr API

Is there a way to write external file (containing external file field) for Solr via some API? I tried to find into Solr docs but unable to find anything that help!! Here is more details as requested. I am working on a project where I have few details which are updated very frequently stored in exter...
Krunal
1

votes
1

answer
52

Views

Solr Query with hyphen return Zero Result

I have a index document that look like this: {'id:'abcde-efgr-jhik','domain': 'http://www.play-bugs.com/index.com} on the Domain field, I use text_general as data type. I trying to query this document use q=domain:play-bugs it wont return any result, however if I use q=domain:play-bugs.com it give m...
david
1

votes
1

answer
94

Views

Docker - Import Json Docment Inside The Solr Core

I want to ask if there is a way to import Json document into the core from the docker file while creating the core, or if I can mount a pre-created core directory with the Json file already imported inside it. An another method than import the document from Solr server page in Documents core tab and...
Ebraheem Alrabee'
1

votes
0

answer
213

Views

Solr DynamicFields map to Sitecore Languages

Migrating from Lucene to Solr for various reasons. There is limited knowledge of Solr on my part at this time. Currently the details of the implementation are Sitecore 8.1 (Update 2) and Solr 4.10.0, per the compatibility table here. First, the schema.xml was updated following Solution 1 here again....
Jesse Schallenberger
1

votes
0

answer
534

Views

Solr managed-schema for nested objects

I'm trying to create nested documents in solr, and I'm having some troubles. I need to know how to define the managed-schema file, and I'm not sure at all about how to do. After a lot of investigation i found a way creating the nested document like this: And now I don't see any error when trying to...
Marc Ramiro Alpuente
1

votes
1

answer
241

Views

How can I do Solr Delta Import without update whole document?

I want to do Solr Delta Import, but I don't want to update the whole document. Is there a way I can instruct solr to update only certain field when do the delta import?
Simon Kuo
1

votes
2

answer
144

Views

nutch1.14 deduplication failed

I have integrated nutch 1.14 along with solr-6.6.0 on CentOS Linux release 7.3.1611 I had given about 10 urls in seedlist which is at /usr/local/apache-nutch-1.13/urls/seed.txt I followed the tutorial [[email protected] apache-nutch-1.14]# bin/nutch dedup http://ip:8983/solr/ DeduplicationJob: starting...
SMJ
1

votes
0

answer
12

Views

How can I get the results of a Sunspot Searchable code in Ruby?

So I have a Model with a 'searchable' block defining everything just fine. Model.Search is also working as expected. My goal is to get the data from the 'searchable' block as a json for a specific Model instance: For example: class Model searchable do integer :id name :string end end And I would lik...
Asaf Abady
1

votes
0

answer
36

Views

After consolidating 3 different alfresco application, OOTB search is not working

I have consolidated 3 different alfresco application, initially we have 3 separate applications in alfresco. but now we have consolidated those 3 applications and all applications repository layer code is running on single instance and there are 3 different share instances. But here alfresco OOTB se...
Deepak Talape
1

votes
1

answer
620

Views

Solrcloud - remove a node

I have a Solrcloud setup, which runs 3 ZKs and 3 Solrs (version 4.10.3). I would like to take out one of the Solr servers completely from this setup so that I only have 2 Solrs and 3 ZKs. I've tried googling and the only results I can find are to remove replicas or collections but not to remove a n...
Gabbar
1

votes
2

answer
163

Views

How do I search a model by specific fields in Rails with Sunspot/Solr?

The gem and version I am using for sunspot is: sunspot_rails gem version 1.2.1 rails version 2.3.18 The query I am trying to search with and search method is something like this: query_params = { :name => 'Joe Smith', :email => '[email protected]' } How can I search a model with sunspot so that it...
Paul Lee
1

votes
0

answer
101

Views

SolrCloud 7.2 with BasicAuth - IndexFetcher Http client requests are unauthenticated

Whenever the IndexFetcher class is called for recovery or replication the HTTP requests are unauthenticated resulting in 401 errors: 2018-01-25 13:16:22.538 WARN (indexFetcher-25-thread-1) [c:myCollection s:shard1 r:core_node3 x:myCollection_shard1_replica_t1] o.a.s.h.IndexFetcher Master at: http:/...
Giannis
1

votes
0

answer
23

Views

How to find documents with recurring dates

I've been tasked with using Solr to search for appointments by date. This needs to handle appointments that have a recurring schedule (e.g., occurs every Wednesday at 9:30). The only solution I've come up with so far is to use a multi-value date (or date range) field and calculate all of the occurre...
Jack A.
1

votes
0

answer
24

Views

Solr spatial search advanced! Solr field value in the query? Solr 4.10

Let's say we have solr document representing building with multiple location fields. Every building document has at least one location, which indicates building's location. While all others location fields are dynamic, and represents facilities around the building. Let's say that these facilities ar...
1

votes
1

answer
80

Views

Rails5: filtering with sunspot_solr

I have a search implemented with the gem sunspot_solr. I would like to add links in the search results to be able to filter the search by alphabetical order and other parameters. my controller is class SearchController < SuperSiteController def index @sunspot_search = Sunspot.search User, Post do |q...
Fernando Aureliano
1

votes
1

answer
56

Views

Can't add/change resource in solrcloud

I'm beginner with solrand I have some difficulties to manipulate resources. In fact, I m using solr 7.2. in cloud mode using zookeper: 1/ I create collection named films 2/ I wanted to add synonyms file called 'syns.txt' so I added it into 'server/solr/configsets/_default/conf/' 3/ I execute the f...
beji dhia
1

votes
0

answer
302

Views

objects as attributes in spring-data-solr document using converters

I am using spring-data-solr to index my entities. As far as I understand, Solrj can handle Date attribute but can't handle LocalDate. I tried to create and register custom converters following this for conversion between LocalDate and String but it doesn't work. Moreover when I tried to use org.joda...
Jan Tomášek
1

votes
0

answer
60

Views

when i am adding new product or modifying the record it is not showing the result set in search after building index in django oscar

As I used Solr for search backend, and once my product get index and now the second time when I add new products and change price after index created that product not being search in and sorting of price also not worked for new change ( i need to rebuild index then start the java server then will wo...
python test
1

votes
0

answer
68

Views

No command builder registered for name extractHBaseCells

I am trying to index data from HBase to Solr and using Hbase-Indexer for the same. But I am getting 'No command builder registered for name: extractHBaseCells' any suggestions. My morphline.conf is morphlines : [{ id : morphline1 importCommands : ['org.kitesdk.morphline.**', 'com.ngdata.**']...
Prayalankar Ashutosh
1

votes
0

answer
46

Views

solr DIH how to index nested docs from mongoDB

I am using DIH for indexding the docs from solr to mongo , my data is like below { '_id' : 'processedSKU_ID-1', 'clientName' : 'client1', 'searchQueryAnalysisObj' : [ { 'searchKeyword' : 'iphone 1', 'searchKeywordScore' : 1.8000000000000003 }, { 'searchKeyword' : 'iphone 2', 'searchKeywordScore' :...
Navneet Mathpal
1

votes
0

answer
501

Views

Solr 7.2.1 and Sitecore 9

I have installed solr 7.2.1 and enabled SSL and it seems it works fine. However, I'm trying to install Sitecore 9 on a local dev environment now, following the installation guide located at: https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Re...
S.S
1

votes
0

answer
63

Views

Date Boost Fails After Solr Upgrade to 7.2

Date boost fails after upgrade to solr 7.2.1 from 4.9.0 Original working 4.9.0 url: http://localhost:8983/solr/facet?fq=-url:http*&fq=-facet_encatname:reference\-documents*&fq=+id:doc*&q{!boost+b=$dateboost+v=$qq}&dateboost=recip(ms(NOW/DAY,soldate),3.16e-11,1,1)&qq=*:* With that url in 4.9.0, I get...
J.L. Hill
1

votes
1

answer
51

Views

Searching for dates within the date range in a multiValued field

I'm having troubles searching for documents which date fall within the range I specify in my query. The schema configuration is the following These are the documents I have indexed in Solr Query: q=dates:* { 'responseHeader':{ 'params':{ 'q':'dates:*', '_':'1518809837624'}}, 'response':{'numFound':2...
Pablo Castelnovo
1

votes
0

answer
111

Views

How to filter Solr MoreLikeThis Result

I have query in MoreLikeThis Component, like this : /mlt?q=5a25300cc1cb1786198b4571&df=id&fl=*,score&fq=service:2&mlt=true&mlt.fl=pagetext&mlt.mintf=3&mlt.mindf=3&mlt.minwl=3&mlt.maxwl=15&mlt.boost=true&mlt.count=10 My question is : Can i filter this MoreLikeThis result, something like mlt.fq, wher...
1

votes
2

answer
92

Views

SOLR FTS Status meaning

Can anyone tell me what the status values for the FTS Status report mean. In particular what does FTS Status Clean and FTS Status New mean for a core. Regards Brian
Brian O'Neill
1

votes
0

answer
83

Views

Word / PDF document snippet rendering in search

I'm interested in building a software system which will connect to various document sources, extract the content from the documents contained within each source, and make the extracted content available to a search engine such as Elastic or Solr. This search engine will serve as the back-end for a w...
user2245766
1

votes
0

answer
60

Views

CORS issue or poorly formatted AJAX?

I have been struggling with a web-app to submit documents (.pdf, .docx...) to an instance of Tika-server (https://wiki.apache.org/tika/TikaJAXRS) and NLTK-server ( https://github.com/preems/nltk-server) over http. I've been fighting my limited knowledge of javascript/Ajax,and CORS so I've decided to...
GeoffWillis
1

votes
1

answer
36

Views

Apache Solr 6.6.1 number mapping in Urdu language

I have configured Apache Solr 6.6.2 to index and search documents later. I am facing some problems. If there is a number in document like 1234, I want it should be mapped (copied) to corresponding Urdu numerics like ۱۲۳۴. It will ultimately help to retrieve document if either user enter 1234 or...
Shafiq
1

votes
0

answer
153

Views

SOLR 6.6 - Plugin Initializing failure

I am using SOLR with Magento an I have problem: While I get alphabetically sorted data from SOLR it's using latin alphabet and I would like to get it in polish, so I want: a, b, c...s, ś...z but i get: a, b, c...s...z, ś Note: 'ś' is polish character, it falls after 's'. 2. So I change in schema....
Stewart Wallace
1

votes
0

answer
147

Views

How to update synonyms in managed resouces in solr using java

I'm using solr 6.6. I have integrated ManagedSynonymFilterFactory in my solr as specified in the documentation https://lucene.apache.org/solr/guide/6_6/managed-resources.html#ManagedResources-Synonyms I can update the synonyms using apis specified in that documentation. But I want to upload synonyms...
Gnana
1

votes
1

answer
121

Views

Solr search in the nested all childs of the parent element, Nested Query, Block join.

I am struggling with the question. How can I search in the nested all childs of the parent element in Solr version 7.2. Searching in the single field I was able but in all fields no solution. I have read all documentation but exact solution doesn't existed can anybody help me with this? my query is...
user1524615
1

votes
1

answer
219

Views

How to delete all attributes from the schema in solr?

Deleting all documents from solr is curl http://localhost:8983/solr/trans/update?commit=true -d '*:*' Adding a (static) attribute to the schema is curl -X POST -H 'Content-type:application/json' --data-binary '{ 'add-field':{'name':'trans','type':'string','stored':true, 'indexed':true},}' http://loc...
arthur
1

votes
0

answer
203

Views

changing the type of id from string to uuid in solr 7.2+

I have created an example SolrCloud instance using example Settings in Solr 7.2.1 on windows: bin/solr start -e cloud bin/solr.cmd create -c trans -s 2 -rf 2 Then I updated the schema (as most of the data will come from Postgres and SQL Server: curl -X POST -H 'Content-type:application/json' --data-...
arthur
1

votes
0

answer
277

Views

Specified config does not exist in ZooKeeper: solr

I have installed solrcloud with zookeeper 3 nodes. I have 5 collections in solr each having different config_name I have stopped solr & zookeeper instances & start it again but when I started the instances it gives below error - 'collection1_shard1_replica2: org.apache.solr.common.cloud.ZooKeeperE...
shailesh
1

votes
0

answer
287

Views

Solr Field exists syntax - * vs [* TO *]

I'm trying to write a query which checks if a certain field exist in a document. The field is known only on query time and can be of different types: int,string,bool, multi-value/single value. I'm familiar with 2 syntax for doing this which both seems to work: my_field:* my_field:[* TO *] What's the...
Tomer Arazy
1

votes
1

answer
335

Views

How to index a date without day & time in Apache Solr

In my database the dates are like 1973-01. They are stored as string value. If I have to index this using Apache Solr then how would I do it. I have written the below in my schema.xml: I have also changed all the dates like 1973-01Z. But I am still getting an error: org.apache.solr.common.SolrExcep...
Sumit

View additional questions