FAQ Database Discussion Community
solr,cassandra,datastax,datastax-enterprise
Im using Datastax 4.6. My solr client queries data by using _uniqueKey. From version 4.6 the limitation about using simple primary key is removed. How can i configure solr or create table in cassandra, so that I receive in solr response information about synthetic key _uniqueKey. There is no problem...
solr,elasticsearch
I'm just reading the book Mastering Apache Solr and the writer recommends to set the minimum heap size (-Xms) to 2GB and the maximum heap size (-Xmx) to 12GB. Is 2GB necessary? I just use a 512MB server (which is low, I know) for Solr and I found it already...
solr,jvm
I have a Solr 5.0.0 in production with a custom heap size like this SOLR_JAVA_MEM="-Xms2g -Xmx2g" When I tried to migrate to Solr 5.1.0 with the same configuration and start the server it returned a OutOfMemoryError. Looking to the Solr API I saw that the heap size was set to...
solr,dataimporthandler,data-import
Currently i have a Solr core, which is importing data from multiple entities, i.e 2 different MySQL tables. I have to import data in the same core through 3rd entity which is another core in the same Solr Database. I found a documentation on many different sites which were guiding...
solr,solrcloud
I have a SolrCloud with one collection configured with compositeId and numShards=3 and replicationFactor=2. there will be about 200K inserts a day and about as many searches. from the SolrCloud documentation: "If the machine is a replica, the document is forwarded to the leader for processing." Does this means that...
php,apache,search,drupal,solr
Hello I am trying to run Solr on a Tomcat and have an exception like org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: directory '/var/lib/solr/data/index' does not exist Maybe anyone has some trouble like I do?...
sql,database,web-applications,solr,nosql
I'm in the planning phase of developing a very tag heavy website. Everything will essentially be associated with tags and the entire site would be based on searching these tags. Now, I've been thinking a lot about going the nosql route here, since from what I read and understand, it...
solr
I called splitshard, and now this is what I see even after posting a commit: I thought splitshard was supposed to get rid of the original shard, shard1, in this case. Am I missing something? I was expecting the only two remaining shards to be shard1_0 and shard1_1. The REST...
ant,solr,solr4
I've modified a patch for Solr 4.10.4, I have it working, and I can successfully compile and package it. I now want to customize the version to indicate that it's not vanilla Solr. I've looked though the ant build configurations, but I haven't been able to find the actual version...
java,groovy,solr,spring-boot,criteria
I have an object Foo with a List<String> property names: class Foo { List<String> names = [] } In my schema.xml for Solr, I have it configured as a string: <field name="names" type="string" indexed="true" stored="true"/> I am then trying to perform a search on it, where, as long as ANY...
xml,tomcat,solr,lucene,xinclude
After configuring solr4.7.2 with tomcat 7, got the error in solrAdmin page stating SolrCore Initialization Failures fran92:org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: XML parser doesn't support XInclude option My solr.xml file contains one core <?xml version="1.0" encoding="UTF-8" ?> <solr persistent="true"> <cores host="${host:}" adminPath="/admin/cores" hostContext="${hostContext:solr}"> <core config="solrconfig.xml" name="fran92" instanceDir="generic" schema="schema.xml"...
php,solr,lucene
I have tried as below, <field name="collector" type="text_general" indexed="true" stored="false" multiValued="true" /> and copy all my fields to copyField as below, <copyField source="fullname" dest="collector"/> <copyField source="email" dest="collector"/> <copyField source="city" dest="collector"/> and also I have put all copyField tags below <fields> </fields> tags. But I cant search in all fields. I...
solr,dspace,oai
After configuring my DSpace server, its working correctly but when I look at the OAI identify page (http://repositorio.puce.edu.ec/oai/request?verb=Identify) so we can be harvested, it says that the repository is localhost instead of my URL. I investigated and found out that to update this, I have to run this command: dspace/bin/dspace...
apache,tomcat,amazon-web-services,solr,amazon-ec2
I am trying to install solr on Amazon EC2. However, I can't access the solr url as some people described in their results. For example, One example shows once I start solr, then I could access the url with port 8080. However it doesn't happen. http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/ Maybe it is because...
xml,solr
I am trying to use schema.xml with the latest version of Solr (5.1.0). It seems that by default Solr 5.1.0 uses managed schema, but I would like to use schema.xml for a specific collection. So I create a new collection (using solr create -c my_collection on windows and copy schema.xml...
solr,django-haystack,django-cms
I've been digging around and can't seem to find a way to create a search index for the page description meta tags using Haystack and Solr. Does anyone have experience with this, or any tips? I have looked at the page model in cms, but can't figure out how to...
solr,cassandra,datastax-enterprise,reindex
Last evening I started a full reindex for our Cassandra cluster via the Solr admin web console (I selected "Full Reindex"). Each node in the cluster also runs Solr. As of about 2 hours ago it appears as though it completed since the web console for each node has "no"...
solr,solrnet
Is there a way to tell SOLR to search for (for example) 80% of the phrase "term1 term2 term3 term4" will yeild documents with at least 3 terms. Extra question - if such logic exists - will it work with proximity : "term1 term2 term3 term4"~15 specifically, tried to do...
java,indexing,solr,lucene,solrj
I have downloaded solr 5.2.0 and have started using $solr_home/bin/solr start The Logs stated: Waiting to see Solr listening on port 8983 [/] Started Solr server on port 8983 (pid=17330). Happy searching! Then I visited http://localhost:8983/solr and created a new core using Core Admin / new Core as Core1 (...
java,mongodb,solr
I have a two or more collection in mongodb that are replicated to solr indexes using mongo-solr connectors. For the sake of explaining my problem I am facing lets take the traditional example of employee & department example (I know it's Document oriented DB & I can embed department to...
solr,faceted-search,hierarchical
Question Where can I find a complete example that shows how hierarchical faceted search works from indexing the documents to retrieving search results? My research so far Stackoverflow has a few posts, but all of them only address certain aspects of hierarchical faceted search; therefore, I wouldn't consider them to...
solr,lucene
There is a field in my schema 'fullText' which is of the 'text_en' type, and multivalued. The term 'tests' is in the fullText field in one document. In solr, when I try to search using the word 'test', with the standard lucene parser with minimal distance 1, its returning the...
php,search,solr
So my solr query is implemented in two parts,first query does an exact search if there are no results found for exact then it goes to the second query that does a fuzzy search. every things works fine but in situations like-->A user enters "burg +" So in exact search...
mysql,solr,tika
Solr, more specifically Tika, is having some problems finding my file whose filepath is retrieved from a database. Whenever I go to index it logs errors saying that this can't find the file. I'm basically doing what this guy is doing here, which is taking a file path from a...
sql,view,solr
Let me first give you an example. I have two tables -table1 and table2. table1 has a field id_table2, which is a foreign key and references one of the fields in table2. So, when I want to scan table1, I make a query like: SELECT t1.attr_1_, t1.attr_2_, t2.attr_3_ FROM table1...
solr
Let's say I have a query like this: text_data:(Apple OR Apple~2) How do I know what boost value to provide to give the direct match a clear priority over the fuzzy match?...
apache,solr
I am using Solr 4.4.0 and running some basic queries. This is what I do when i insert title:* in the query box <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">3</int> <lst name="params"> <str name="q">title:*</str> <str name="indent">true</str> <str name="wt">xml</str> <str name="_">1430883449558</str> </lst> </lst> <result name="response" numFound="70"...
solr
All: WHen I read the debug explain in Solr, there is one number following "fieldWeight in", like: <str name="2531072"> 3.1245635 = (MATCH) weight( title:epic in 111 ) [DefaultSimilarity], result of: 3.1245635 = fieldWeight in 111 , product of: 1.0 = tf(freq=1.0), with freq of: 1.0 = termFreq=1.0 6.249127 = idf(docFreq=4,...
java,php,solr,lucene,solrcloud
I have setup Solr 4.7 before and I had configured solrconfig.xml file in my core for dataimport requestHandler and it was working fine. But when I setup Solr 5.1.0, what is the location of solrconfig.xml file for particular core? Where is it located?...
apache,solr
I have a problem to filter data. I already have a data that contain size per product. {"product_name":"new jeans","product_size_url":"27"}, {"product_name":"new sporty shoes ","product_size_url":"39"}, {"product_name":"new shoes ","product_size_url":"45"} How do I build the query to show data that contains size 27,45 ? I Really need help for this case. Thanks....
mysql,solr
I'm trying to store the file path of an locally stored indexed document in Apache Solr so I can then update the index with metadata that is stored in a DB in MySQL. That file path is how I'm going to relate the document to its corresponding metadata I already...
solr,cluster-analysis,k-means,workbench,carrot
My environment: 8GB Ram Notebook with Ubuntu 14.04, Solr 4.3.1, carrot2workbench 3.10.0 My Solr Index: 15980 documents My Problem: Cluster all documents with the kmeans algorithm When I drop off the query in the carrot2workbench (query: :), I always get a Java heap size error when using more than ~1000...
solr,docker,boot2docker
I pulled this SOLR docker image and then followed the instructions to run it. docker run -d -p 8983:8983 -t makuk66/docker-solr Typing in docker ps yielded 1197d246f0e3 makuk66/docker-solr:latest "/bin/bash -c '/opt/ 50 minutes ago Up 50 minutes 0.0.0.0:8983->8983/tcp suspicious_sinoussi So I know it's running. In order to connect to it...
solr,multi-tenant
Newbie question so please be nice. :) Basically we need to implement editorial boosting for a multi-tenant SOLR environment wherein a pre-defined query from a user would always bring a certain set of documents at the top of the results. A couple of challenges we have include: Given a single...
solr,cassandra,datastax-enterprise
One of the tables inside our Cassandra (DSE 4.7) Cluster contains south of 15 billion records. With the number of servers we have - it would be impossible to index them all with Solr. So, is it possible to somehow index the data partially/sample and/or start indexing and then "pause"...
solr,dataimporthandler
I am trying to run RSS example of SOLR 5 which is in side of example-DIH folder. using command sole -e dih when I run import command ( click on execute button ) solr is just showing mw importing ... nothing else. and result is zero documents.
solr,solr4,solrcloud
I have a live Solr cluster where stemming was not enabled and my schema.xml looks like this: .. <field name="Searchable_Text" type="text_general" indexed="true" stored="true" multiValued="false"/> .. <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/> .. <copyField source="Searchable_Text" dest="text" maxChars="3000"/> .. <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer...
solr
Now I have a solr collection: question question has some field: id answer_count created_at updated_at now I have the sort rule: score = answer_count * 100 - (the hours now to created_at) * 5 then I need to sort by the score desc. how can i do that because of...
indexing,solr,sitecore,sitecore7.2
we would like to know what is the difference between Sitecore full index rebuild and index refresh. When we want to refresh item in index it took ~2 min. Full rebuild of master index took ~10min. Why index refresh is so time consuming? We are refreshing item using this code:...
java,apache,solr,lucene,autosuggest
I am using solr 5.1. I am trying to configure multiple suggester definition in Solr search component according to Apache solr wiki. I have configured single suggester perfectly and it works perfect but whenever I try to configure multiple suggester it gives me following errors java.lang.NullPointerException at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:190) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)...
java,sql,solr,elasticsearch
Ok, my job is to create a specific order on the category page wich contains Solr results which is quite hard to realize in my opinion. The job: first 2 products of the category page must be featured or most clicks. further products must be chronological, BUT with a maximum...
solr,solrj,solr-highlight
I'm beginning with SOLR so please don't flame me if this question is stupid or something like this. I was reading solr documentation and found out that there is something called "highlight". I have really simple query: /select?q=text:test&wt=json&indent=true text is a field in my index and I'm trying to highlight...
ruby-on-rails,solr,sunspot-rails
I create two cores for English and Japanese docs by Solr 5.1, and am wondering how to set up Sunspot/Rails to choose a core depending on locale selection from my rails app. The default sunspot.yml shows a setting of one core for each production, development, and test environment, but in...
java,indexing,solr,lucene,full-text-search
I have worked upon Lucene before and now moving towards Solr. The problem is that I am not able to do Indexing on Solr as fast as Lucene can do. My Lucene Code: public class LuceneIndexer { public static void main(String[] args) { String indexDir = "/home/demo/indexes/index1/"; IndexWriterConfig indexWriterConfig =...
solr,lucene,solr-multy-valued-fields
I know multivalued field sorting is not supported in Solr . But Is there any way we can sort multivalued field in Solr. I have two documents with field custom_code and values are as below, Doc 1 : 11, 78, 45, 22 Doc 2 : 56, 74, 62, 10 When...
apache,solr,lucene,subquery
I have an issue to search with SOLR in following scenario, I'd like to get all products within my favorite tag, categories and user. I want all products which created by my favorite user without any filter but products from favorite tag or categories must be filtered with in a...
solr,full-text-search,sunspot-solr
I have defined two dynamic fields solr 5 schema: <dynamicField name="*_texts_en" stored="true" type="text_en" multiValued="true" indexed="true"/> <dynamicField name="*_texts_pt" stored="true" type="text_pt" multiValued="true" indexed="true"/> for documents in English and in Portuguese, with the following index and query analyzers: <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <charFilter class="solr.HTMLStripCharFilterFactory"/> <tokenizer...
spring,solr,filtering,facet
Is it possible to combine a facet and field query in spring data solr? Something that would build a query like this: > http://localhost:8983/solr/myCore/select?q=lastName%3AHarris*&fq=filterQueryField%3Ared&wt=json&indent=true&facet=true&facet.field=state In other words, how do I add FilterParameters to a SimpleFacetQuery? Any/all replies welcome, thanks in advance, -- Griff...
solr,lucene,multicore,sharding,solrcloud
I have a standalone Solr instance with 4 different cores working fine using the embedded Jetty server. I configured the cores for v4.10.3 but since I moved to v5.1 and all seems to work fine without any changes. Before going into production, I need to set it up as a...
mysql,indexing,solr,solrj
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...
java,json,solr,jersey,jersey-client
I'm calling the Solr REST api using a Jersey client: final ClientResponse resp = client().path(queryPath()) .queryParam("q", query.getQuery()) .queryParam("wt", "json") .accept(MediaType.APPLICATION_JSON_TYPE) .get(ClientResponse.class); resp.getEntity(HttpResponse.class) and when I run it I get: A message body reader for Java class challenger.HttpResponse, and Java type class challenger.HttpResponse, and MIME media type text/plain; charset=UTF-8 was not...
solr,solr5,banana
I'm currently working on a project on which I would like to index several data sources (Oracle and HBase) into Solr for full text search. Additionally, I want to be able to visualize the data I index into Solr. I'm still evaluating on whether to use Banana or Hue for...
ruby-on-rails,solr,capistrano,capistrano3
I'm getting undefined local variable or method 'rails_env'when doing execute "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rake sunspot:solr:stop" I'm not a big capistrano or rails expert. On deploy.rb I have namespace :solr do desc "start solr" task :start do on roles(:app) do execute "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rake...
solr
While devising a naming scheme for core names, I tried naming a core "search/live" and received this exception when trying to start solr: java.lang.RuntimeException: Invalid core name: search/live at org.apache.solr.core.CoreContainer.registerCore(CoreContainer.java:411) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:499) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at...
solr,ranking,riak,leaderboard
I am currently researching databases for a scalable game backend. Riak looks very nice from an operational point of view. I can easily see how to model user and game data and statistics in Riak. But I have trouble with leaderboards/ranking lists. Assuming we have millions of players and the...
solr,solrcloud,inverted-index
solr uses inverted index to find the document from the indexed "terms". but what I wonder is that - is there any approach to know all of the terms which refer to a specific documents? thanks...
xslt,xpath,solr
I want use xslt in solr to output result in json without specific solr attributes. { "techproducts": [ { "id": "GB18030TEST", "price": "0.0" }, { "id": "SOLR1000", "price": "0.0" }, { "id": "UTF8TEST", "price": "0.0" } ], "paging": { "count": 3 } } The test of type of field (numeric...
solr,lucene,centos,solrcloud
When I running command bin/solr start -e cloud it is not asking me to collection name and other information like no of replicas and configuration settings. I got following output Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. To...
solr
I am trying to index a TSV file in Solr and weirdness with the TSV files I have is, they miss some fields in some lines randomly. Sample data in my TSV 0 abc 1 The quick brown fox jumps over the lazy dog 0 abc 1 2 The quick...
java,solr,lucene,config,solrcloud
I have a custom class extending UpdateRequestProcessorFactory doing some work on a document when it gets added to the index. This was working fine in v4.10.3 in standalone Solr. I moved to SolrCloud v5.2 and it throws this error when adding the Collection (node): ERROR - 2015-06-14 12:25:11.071; [ docs_shard1_replica1]...
search,solr,solr-schema
I've added to the schema.xml the multivalued field in the following way: <field name="text_qs" type="text" indexed="true" stored="false" multiValued="true"/> And added two fields to it: <copyField source="name" dest="text_qs"/> <copyField source="symbol" dest="text_qs"/> After that I perform indexing of the solr, restart it, but still I can not search in this field text_qs....
java,solr,lucene
I have refer different related web page for getting how can i post multiple index to solr in a single request. I have gone through the solr link http://wiki.apache.org/solr/UpdateJSON#Example but the link explain feature not that much clearly. Also i have found that create a json like this: { "add":...
django,solr,django-haystack
I have a search index that I have created using Solr. I want to add individual django objects to the search index. To remove objects from the solr database we use remove_object. some = SomFooModel.objects.get(pk=1) foo = FooIndex() foo.remove_object(some) #This works To add it, is there something like add_object or...
search,indexing,solr,levenshtein-distance
Lets say I have my list of ingredients: {'potato','rice','carrot','corn'} and I want to return lists from a database that are most similar to mine: {'beans','potato','oranges','lettuce'}, {'carrot','rice','corn','apple'} {'onion','garlic','radish','eggs'} My query would return this first: {'carrot','rice','corn','apple'} I've used Solr, and have looked at CloudSearch, ElasticSearch, Algolia, Searchify and Swiftype. These engines only...
java,php,solr,lucene
When I starting solr-5.1.0 in Ubuntu by, /bin/var/www/solr-5.0.0/bin ./solr start I get an error as below, Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/solr/util/SolrCLI : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at...
mysql,solr
I'm using Apache Solr to index documents for a search engine. These documents are stored locally on my file system. In order to do a faceted search I also have to include these documents meta-data which is stored in a MySQL DB. Is there a way to simultaneously index these...
solr,highlighting
Adding ShingleFilterFactory to a type in solr (index time) does result in changing behavior when queering with highlighting. Sample Text: "in a ship a dragon was in a box" Without ShingleFilterFactory both "in" tokens will be highlighted separately. <em>in</em> a ship a dragon was <em>in</em> a box With it the...
solr
I have trouble with Apache Solr now. I wonder if there is any difference with 2 query: status:1 AND province:D500 AND district:014 AND precinct:008 AND name:*THÔN 22* I have parsedquery_toString": "+status:1 +province:D500 +district:014 +precinct:008 +name:*thôn _text:22*" and with the second one: status:1 AND name:*THÔN 22* AND province:D500 AND district:014 AND...
solr,full-text-search
The Solr docs say: solr.ReversedWildcardFilterFactory A filter that reverses tokens to provide faster leading wildcard and prefix queries. Add this filter to the index analyzer, but not the query analyzer. The standard Solr query parser will use this to reverse wildcard and prefix queries to improve performance... How does it...
solr
Background: I have a Bitnami Solr image installed on Google Compute Engine I have a custom core with a customized schema I had updated the core with approximately 100 documents Everything was running fine for about 3 weeks. I then decided to restart the server as a part of routine...
solr,elasticsearch,lucene
Suppose I have 5 words that I'm searching for. Is there a way to specify that the matching documents should have at least 4 of those words?
solr,schema,unique-key
In Solr 5.1.0, is it possible to set the unique key via the REST schema api? I created a collection with the data driven schema. Solr would guess what the field type and create the field based on the data I upload. I can still define fields beforehand by sending...
solr
I am quite new to solr as such, and have set up everything as per the example, and it all works fine. However, I have one nagging issue, for which I do not seem to find a solution for. So, normally, I do the following using the SimplePostTool and it...
solr,riak,riak-search
I am querying my Riak database through the HTTP API like so: /select?q=+build:2702168+hypervisors:500&q.op=and&wt=json&sort=tstart_int%20desc" but all other query parameters than the first one gets ignored. So in this case, it returns all entries that fulfill build:2702168, but ignores hypervisors:500. This piece of documentation, although old, shows that you can do regular...
solr
I need to implement SOLR date ranges and trying to understand the following 2 conditions from SOLR wiki - pubdate:[NOW-1YEAR/DAY TO NOW/DAY+1DAY] createdate:[1976-03-06T23:59:59.999Z/YEAR TO 1976-03-06T23:59:59.999Z] Im really concerned about the "/" operator within the date ranges.. Can someone explain ?...
java,sorting,solr
I am new to SOLR and am trying to write a Query that contains some facets that are supposed to be linked together even after sorting. For instance, my database contains id and name fields (along with other attributes). I have added 2 facetfields in my code as sq.setFacet(true); sq.setFacetMinCount(1);...
solr,typo3,extbase,typo3-6.2.x,fal
Before FAL, I can get the filename of an image from my own Extbase extension in the solr config file "typo3/ext/solr/Configuration/TypoScript/Solr/setup.txt" via index { queue { tx_myextension = 1 tx_myextension { fields { ... myimage_stringS = articleimage ... } } } } Where "articleimage" was a database field with the...
json,xml,indexing,solr
I'm using Solr 4.5.1 and i have these two fields indexed in solr : schema.xml <field name="event_id" type="custom_string" indexed="true" stored="true" /> <field name="text" type="text_fr" indexed="true" multiValued="true" stored="true"/> <copyField source="event_id" dest="text"/> <fieldType name="text_fr" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <!-- normalisation des accents,...
java,xml,solr,solrj
The SolrJ library offers different parsers for Solr's responses. Namely: BinaryResponseParser StreamingBinaryResponseParser NoOpResponseParser XMLResponseParser Sadly the documentation doesn't say much about them, other than: SolrJ uses a binary format, rather than XML, as its default format. Users of earlier Solr releases who wish to continue working with XML must explicitly...
mysql,jdbc,solr
I am trying to make full import for mysql table to solr. The issue is only 10 documents are indexed while the mysql table size is almost 1 million. When i debug the full-import request i always get" <str name="Total Rows Fetched">10</str> I am using Solr 5. How i can...
solr,typo3,typoscript,typo3-6.2.x
I have a small question about TYPO3 solr facets.At present in my website I have 6 different indexing configuration available. Two of them are custom extension table's and one is tt_news and rest of the 3 are pages table with some custom condition. I managed to add this using additionalWhereClause...
mysql,oracle,solr,dataimporthandler
I have used Solr 3.3 version as Data Import Handler(DIH) with Oracle. Its working fine for me. Now I am trying the same with Mysql. With the change in database, I have changed the query used in data-config.xml for MySql. The query has variables which are passed url in http....
mysql,solr
I'm trying to migrate a server with Solr 4.7.2 on it. I have a Solr 4.10.2 with 4 cores running which is the new machine. I have an importer running on the old machine that poses no problem. However, when trying to run the importer on the new machine, I...
oracle,apache,search,solr,lucene
I have an application for Solr that would work great--I'm using it to query an Oracle database and having success with what I'm seeing. However, the way I have it set up today, it imports the data from Oracle into a local database (I gather this is called Lucene) at...
solr
I am trying to index a JSON document into Solr and for one of the document with a forward slash in the field Solr fails and returns 400. document in question: [ {"key": "100", "path": "0"}, **{"key": "200", "path": "0/6000"}** ] Error: SimplePostTool: WARNING: Solr returned an error #400 (Bad...
apache,solr,tomcat7,bigdata,solr-schema
I am getting this error collection1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core collection1: Plugin init failure for [schema.xml] fieldType "pint": Error loading class 'solr.IntField'. when i am trying to import collection 1 (solr 4.5) schema to solr 5.1. I only copy collection 1 from different machine where solr 4.5...
search,solr
I'm working with Solr 4.3.0 and I am trying to add a new field to its index. I have added the field to xml-data-config.xml: <field column="session_garantie" xpath="/produits/stage/sessions/session/@garantie" /> And I've added the field to schema.xml: <field name="session_garantie" type="string" indexed="true" stored="true" multiValued="true"/> But I still don't find my field in the...
solr,lucene,core
Currently we are using Apache Solr 4.10.3 OR Heliosearch Distribution for Solr [HDS] as a search engine to index our data. Now after that, I got the news about Apache Solr 5.0.0 release in last month. I'd successfully installed Apache Solr 5.0.0 version and now its running properly on 8983...
django,apache,solr,django-haystack,solr-multy-valued-fields
I'm experiencing a problem with Apache Solr where I'm receiving fields wrapped in lists in JSON responses but they should be singular. Here is an exerpt from schema.xml, two example fields giving me a problem are django_ct and django_id: <fields> <!-- general --> <field name="id" type="string" indexed="true" stored="true" multiValued="false" required="true"/>...
solr,solrcloud,synonym,stop-words
I am implementing Solr Cloud for the first time. I've worked with normal Solr and have that down pretty well, but I'm not finding a lot on what you can and can't do with Solr Cloud. So my question is about Managed Resources. I know you can CRUD stop words...
apache,solr,drupal-7
I'm working with apache solr, and the module for drupal 7 apachesolr. Some of our queries are very custom. I have been looking in the solr documentation and at explanations on stackoverflow. I have come up with the query: /select?q=&start=0&rows=20&fq=bundle:(message)&fq=sm_hashtags:(hashtags)&fq=(is_uid:(1 OR 2 OR 37 OR 38 OR 50 OR 166...
search,solr,lucene,full-text-search,hibernate-search
I'm working with Hibernate Search for months now, but still I'm not able to digest the relevance it brings. I'm overall satisfied with the results it returns, but even simplest test does not satisfy my expectation. First test was using the term frequency(tf). Data: word word word word word word...
solr
I have searchText and I want to search it in the several certain fields, not in the all defaults fields from schema.xml. At first I tried in the solr admin http://localhost:8061/solr/admin/form.jsp to set Query String (parameter "q") to the: "field1:val OR field2:val" But by some reason it doesn't work. Then...
search,indexing,solr,lucene,metadata
Are there any differences between metadata and index in terms of search? m My understanding is that metadata for a document can be something such as author, keyword, etc. Index operation can be performed against the content body itself, against the metadata itself, against the metadata body+ metadata. Is this...
solr,solrnet,tika,solr-cell
I am doing a POC to index pdf and word documents using solr search engine. I tried to search about detailed level information or articles but did not get\found any detailed article to do it. What I found is to use some solr package provided example. That is not I...
php,mysql,solr,lucene
I have 33 Tables in MySQL. Around 20 Tables will use in Search. What to do to Handle and Search in All this Tables? I have already Implement this by Importing 1 table and search it clearly. But now I want to search in all tables.. Do I create all...
ruby-on-rails-4,solr,geospatial,sunspot-solr
I have configured sunspot-2.1.1. Problem I want to search All products within 20 miles radius and below is my code to do that for Product model Product.search do fulltext(params[:search][:keyword]) order_by_geodist(:location, current_user.lat, current_user.lng) with(:location).in_radius(current_user.lat, current_user.lng, mile_to_km) paginate page: params[:page], per_page: GlobalConstant::SEARCH_RESULT_PER_PAGE end NOTE: above code is working properly in development environment...
solr,dataimporthandler,solr5
I use a data import like this <dataConfig> <document name="products"> <entity name="outer" dataSource="my_datasource" pk="id" query="..." deltaQuery="..." deltaImportQuery="..." > <entity name="solr" processor="SolrEntityProcessor" url="http://127.0.0.1:8983/solr/${solr.core.name}" query="Xid:${outer.Xid}" rows="1" fl="Id,FieldA,FieldB" wt="javabin" /> </entity> </document> </dataConfig> The interesting part is the sub entity, which uses SolrEntityProcessor. Until (including) SoLR 4.10 everything...
indexing,solr,hbase,storm
I am working on designing the Data Indexing feature into Solr. We are using Storm Topology and have a Hbase Bolt where it is adding data into Hbase. The requirement is what ever data we are adding into Hbase, needs to be indexed as well. The following are the options:...
mysql,ruby-on-rails,solr,sunspot
I am trying to use sunspot solr for searching with Rails 4 and mysql. I defined a searchable block in my model(eg XYZ): searchable do text :name, :stored => true string :id, :stored => true end I just want to search in "name". The "id" is the primary key. There...