hey guys, just installed solr, edited the schema.xml, and am now trying to index it and search on it with some test data.
In the XML file I'm sending to SOLR, one ... |
I've set up my first 'installation' of Solr, where each index (document) represents a musical work (with properties like number (int), title (string), version (string), composers (string) and keywords (string)). I've ... |
I have a Field defined as
<fieldType name="text_ws_lc" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
...
|
How can I query a solr instance for all (or prefixed) field names?
I want to use dynamic fields like
category_0_s
category_1_s
...
but i do not know how many may exist. So I want to ... |
There is a constructor of lucene Field:
Field(String name, String value, Store store, Index index)
For example I can create a new filed by:
Field f1 = new Field("text", "The text content", Field.Store.YES, Field.Index.ANALYZED);
Now,I ... |
I am new to lucene. I have to index date field.
i am using Following IndexWriter constructor in lucene 3.0.0.
IndexWriter writer = new IndexWriter(FSDirectory.open(indexDir), new WhitespaceAnalyzer(), true, IndexWriter.MaxFieldLength.UNLIMITED)
my point is:
Why it needs ... |
Our setup is like this. We emulate what is traditionally understood as a relational database (with one to many connections between entities) by having two SOLR indices. One of them (A) ... |
|
UPDATED ORIGINAL QUESTION
I created a program that pulls in content from a database and then indexes it. During this process, I build a string variable called searchField which consists of ... |
I am new to solr. I have couple of questions on solr Indexing and searching:
- Can I configure to index two tables( no relationship 1. books and 2. computers and both are ...
|
I'm trying to insert a value into a boolean field in solr by passing it as a field in a doc, thus:
<add>
<doc>
<field name="WouldBuySameModelAgain">value-here</field>
</doc>
</add>
The field definition in schema.xml is:
<field name="WouldBuySameModelAgain" type="boolean" index="false" ...
|
I am trying to index a piece of content in Apache Solr where the title contains an "รจ". The presence of this character causes the contents of the field to ... |
I'm looking for a way to find the term frequencies over similar fields in Lucene.
Let's say my fields are the following for a given Document:
Document1:
/movie/actor/name0: Tom
/movie/actor/name1: Tom Tom
/movie/actor/name2: Tom Tom Tom
/movie/actor/nickname0: ... |
I am about to use Solr'd Dynamic Fields for the first time but my requirements state that those fields have to be facetable. I did quite a lot of googling and ... |
I'm using solrj to index data, I have created some new field in schema.xml, when I try to index data by java I have to use all new fields, if I ... |
I need some guidance on how to properly index a field representing money.
I need 130 to match 130.64. I tried the trie float configuration below.
<fieldType name="float" class="solr.TrieFloatField" precisionStep="8" omitNorms="true" ...
|
I have the following field definition in my SOlr Schema
name="DvdReleaseDate" type="date " stored="true" required="false"
My input xml file contains movie names with DVDReleaseDate. So for brand new releases, ... |
our Solr index file is about 30G and we want to do some optimization to reduce the size.
Then how to know the space occupied by each field?
|
I am building a search engine, and have a not so unique ID for a lot of different names... So, for example, there could be an id of B0051QVF7A which would ... |