field « query « 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 » query » field 

1. Retrieving specific fields in a Solr query?    stackoverflow.com

I am running a Solr instance on Jetty and when I search using the Solr admin panel, it returns the entire document. What should I do to get only specified fields ...

2. Solr Query on Unique Integer Field    stackoverflow.com

I have a field defined in schema.xml as:

<field name="id" type="integer" indexed="true" stored="true" required="true" />
It is also the uniqueKey for the schema. I cannot perform a query on this field with the query ...

3. lucene ignore queries on fields other than default    stackoverflow.com

i have 2 indexes, one for meta data and one for text, i want to be able to remove all field searches in the query and only use the default fields ...

4. Querying Solr without specifying field names    stackoverflow.com

I'm new to using Solr, and I must be missing something. I didn't touch much in the example schema yet, and I imported some sample data. I also set up LocalSolr, ...

5. In Solr, How to query against one field for distinct set of values in a multi-valued field    stackoverflow.com

I basically want Solr to search each record of the multivalued field for my search parameter.. read on for my example: I am using Solr to index my data. I have application ...

6. How to select distinct field values using Solr?    stackoverflow.com

I would like to do the equivalent of this SQL but with Solr as my data store.

SELECT
   DISTINCT txt
FROM
   my_table;
What syntax would force Solr to only give ...

7. Solr query parser that allows specifying multiple default fields    stackoverflow.com

I would like to use the Dismax query parser because it allows me to specify multiple default search fields (using the 'qf' parameter) as well as other nice features such as ...

8. Lucene query praser, only read a certain fields query, behavior changed in 2.9.3    stackoverflow.com

I need my query parser to only read fields that are "text".
for example, lets say my query is: text:"this fox" OR title:"brown dog" for highlighting purposes, i need the parser/searcher to only search ...

9. How to query SOLR for empty fields?    stackoverflow.com

I have a large solr index, and I have noticed some fields are not updated correctly (the index is dynamic). This has resulted in some fields having an empty "id" field. I have ...

10. SOLR query, value of field 1 is same as field 2, OR field 1 is empty    stackoverflow.com

Got a SOLR query question here, how do I construct my query to suit the following condition: (value of field 1 is same as field 2) OR (field 1 is empty) Cheers James

11. Solr multivalued field searchs only the first 2000 values why?    stackoverflow.com

I have a single document with a multivalued field that stores text(say tag). Each entry size is an average 20 characters . This multivalued field can have a huge number of ...

12. Lucene: queries and docs with multiple fields    stackoverflow.com

I have a collection of documents consisting of several fields, and I need to perform queries with several terms coming from multiple fields. What do you suggest me to use ? MultiFieldQueryParser ...

13. Query about fields in Solr    stackoverflow.com

I'm very new to Solr and I'm looking at someone else's code. I'm looking at the schema.xml and found the following:

  1. field
  2. dynamicfield
  3. copyField
What is the difference between these please? Thanks! :) Krt_Malta

14. Solr function query that operates on count of multivalued field    stackoverflow.com

Can I, within a Solr function query, count the number of values in a multivalued field? How would I write a function query that returns documents with, say, 3 or more ...

15. Getting maximum value of field in solr    stackoverflow.com

I'd like to boost my query by the item's view count; I'd like to use something like view_count / max_view_count for this purpose, to be able to measure how the item's ...

16. Query Sorl: I want to query fields with values example collection_id:408 and collection_name:Birth Records    stackoverflow.com

I want to query Solr for a search that has a name of "Manter". My query:

Manter AND doc_type:newspaper
That works fine But when I want to query: Manter AND collection_name:Birth Records I get no ...

17. solr and query over multiple fields    stackoverflow.com

Is it possible to search solr over two fields using two different words and get back only those results which contain both of them? for example if I have fields "type" ...

18. solr query for field value starting with a number    stackoverflow.com

I have to modify a query that searches for a value starting with a letter (relevant snippet fo the query): &fq=Organization:"+letter+"*& If I pass 'A' as the letter param I'll get ...

19. MySQL: put all values of 1:m into one field?    stackoverflow.com

Assume the following possible models: Model 1:

TABLE: book
- book_id
- name

TABLE: book_author
- book_author_id
- book_id
- author_id

TABLE: author
- author_id
- name
(a book can have 0 or more authors) Model 2:
TABLE: book
- book_id
- name

TABLE: book_eav
- book_eav_id
- book_id
- attribute ...

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.