field « index « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » index » field 

1. SOLR not searching on certain fields    stackoverflow.com

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 ...

2. Solr : how do i index and search several fields?    stackoverflow.com

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 ...

3. Indexing Fields with SOLR and LowerCaseFilterFactory    stackoverflow.com

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"/>
   ...

4. Solr: Retrieve field names from a solr index?    stackoverflow.com

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 ...

5. the store attribute of a lucene field    stackoverflow.com

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 ...

6. How to index date field in lucene    stackoverflow.com

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 ...

7. does solr optimize storing of frequently repeated field values cross documents?    stackoverflow.com

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) ...

8. Lucene field not searchable    stackoverflow.com

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 ...

9. How to index and search two different tables which are in same datasource using single solr instance(two different search fields no joins)    stackoverflow.com

I am new to solr. I have couple of questions on solr Indexing and searching:

  1. Can I configure to index two tables( no relationship 1. books and 2. computers and both are ...

10. Inserting values into Solr boolean fields    stackoverflow.com

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" ...

11. Indexing field with accents    stackoverflow.com

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 ...

12. Term Frequency per Field over all indexed Documents in Lucene    stackoverflow.com

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: ...

13. Is it possible to user Solr facets with Solr dynamic fields?    stackoverflow.com

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 ...

14. indexing with solr    stackoverflow.com

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 ...

15. Solr - Find whole numberin float field    stackoverflow.com

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" ...

16. Solr indexing: date field with (empty) no value    stackoverflow.com

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, ...

17. How to know the space occupied by each field in Solr    stackoverflow.com

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?

18. Solr MultiValue Fields and adding values    stackoverflow.com

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 ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.