Questions tagged [solr4]

Solr4 is the first release of Solr to use Java 1.6 and to include the SolrCloud functionality in it.

Solr4 is the first release of to use Java 1.6 and to include the SolrCloud functionality in it.

For more version specific information see Major Changes from Solr 3 to Solr 4

887 questions
0
votes
2 answers

segregating solr indexes for each end-user

For our we application we would like to somehow segregate index data for each user using the application (which is using solr to index uploaded data). Is that possible? The schema.xml and the document structure for all the documents being indexed…
Saqib Ali
  • 3,953
  • 10
  • 55
  • 100
0
votes
1 answer

SOLR4/lucene and JVM memory management

Does anyone know how solr4/lucene and the JVM, manages memory? We have the following case. We have a 15GB server running only SOLR4/Lucene and the JVM (no custom code) We had allocated 2GB of memory and the JVM was using 1.9MB. At some point…
0
votes
1 answer

Not able to generate Index using SOLR 4.2 configurations

I am generating employee details index using Solr 3.3 & Tomcat 7 setup. However I would like to try this with newer version of Solr 4.2. I've created new setup for this in: d:\apache-tomcat-7.0.19\solr_4_2\collection1\ I've the following…
AnilJayanti
  • 141
  • 1
  • 3
  • 12
0
votes
2 answers

How do I use copyField (solr4) to create a field that's searchable across multiple fields?

I'm trying to configure copyField, but the documentation is pretty light on syntax examples. This is what I tried to do, but the "all" field has no documents after re-importing all my data:
David Parks
  • 30,789
  • 47
  • 185
  • 328
0
votes
1 answer

Solr - Match sentence beginning with a particular word

Any tips on how this is done? I've tried using the PatternTokenizerFactory, but it's not working as expected. Is it possible to do this without writing a custom tokenizer?
Chris
  • 923
  • 1
  • 8
  • 11
0
votes
1 answer

Solr4 creating a custom filter

I'm trying to create a custom filter. All is working, however I'm unsure how to return multiple results for indexing. Here is my incrementToken() override method: @Override public boolean incrementToken() throws IOException { if…
Chris
  • 923
  • 1
  • 8
  • 11
0
votes
1 answer

Solr 4 Spatial Query Filter still returns documents out of range

The Target is to perform multisort by score then distance, and to limit to a radius of 0.14 degrees I perform the following query: localhost:8983/solr/coll1/select?sortsq={! score=distance}locations:"Intersects(Circle(34.0031792,-118.3082034…
Omar
  • 8,374
  • 8
  • 39
  • 50
0
votes
1 answer

How can I specify shards number/zookeeper path in solrconfig.xml?

In solr 4 tutorial example show that I can start solr from start.jar. java -Djetty.port=7574 -DzkHost=localhost:9983 -jar start.jar I want to start it with my tomcat from war file(I have configured initctl daemon so it will be easier and more…
yura
  • 14,489
  • 21
  • 77
  • 126
-1
votes
1 answer

how to post file in Solr using java code

I am trying to post/uplooad a file to Solr using java code by passing suitable input. So is there any such options/method to implement it in Solr 4.7.2.
Veeresh123
  • 87
  • 16
-1
votes
1 answer

Optimization of solr indexing by removing redundancy

I'm working on a production scenario, currently having less data, which is now going to be in Millions.Scenario: I'm having a folder that contains multiple students' data (student_id, rol etc). Now, one student's data can be in different folders…
Kamal Nayan
  • 1,890
  • 21
  • 34
-1
votes
1 answer

SOLR NOT doesn't work inside parentheses

I have a simple query: Type:ABC* AND -Foo:"" That works, but if I put parentheses around Foo then it won't work: Type:ABC* AND (-Foo:"") I eventually want to get to: Type:ABC* AND (-Foo:"" OR -Bar:"" OR -FooBar:"") I want to find all records…
Brian
  • 3,571
  • 7
  • 44
  • 70
-1
votes
1 answer

Solr: Cannot correctly tokenize query terms

I have the following analyzer setup for both the query and index for a particular field type. It should split terms such as "java/cpp" => "java" "cpp" , i.e. 2 tokens due to a PatternTokenizer I have defined in the schema.xml. This is applied…
Simon
  • 2,840
  • 2
  • 18
  • 26
-1
votes
1 answer

Different document types in different collections OR same collection without sharing fields?

Using a single node Solr instance, I need to search for, lets say, electronics items & grocery items. But I never want to search both of them together. When I search for electrnoics I don't expect a grocery item ever & vice versa. Should I be…
Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294
-1
votes
1 answer

Apache Solr Upgradation to latest version in existing Application

I have apache Solr 3.5 instance with my web application. I want to upgrade it to latest version so I have some queries - 1. What latest version is stable and ok to upgrade to? 2. If I have to upgrade is there any document/process steps to do so? if…
Enigma
  • 749
  • 1
  • 13
  • 35
-2
votes
1 answer

How to import data into Solr? Could anyone please tell me the baby steps?

I need to import a word doc to Solr. Could anyone please tell me the procedure to do this? Also the changes to be made in the xmls.
PPH
  • 31
  • 5
1 2 3
59
60