Project

General

Profile

Feature #196

Adding query mechanism and result

Added by Patrick Talbot over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
12/11/2010
Due date:
% Done:

100%

Estimated time:
20.00 h
Spent time:
Browser (if web client):

Files

solrForm.png (120 KB) solrForm.png Patrick Talbot, 01/18/2011 06:14 AM
SmartDocSampleQueryForm.png (94.8 KB) SmartDocSampleQueryForm.png Patrick Talbot, 01/19/2011 06:48 AM

History

#1

Updated by Patrick Talbot over 13 years ago

  • Status changed from New to In Progress
#2

Updated by Patrick Talbot over 13 years ago

  • % Done changed from 0 to 20
  • Estimated time set to 20.00 h

First draft version of query mechanism: plugins.SmartDoc.query() accepts a JS Object with these parameters: {
query: Lucene/Solr syntax query
queryType: @see Solr query types (default="standard")
start: int (default = 0)
rows: int (default = -1 / all)
highliting: boolean (default=false)
debug: boolean (default=false / Solr debug informations)
}
(MORE TO COME)

returns a JS Object with the following structure: {
responseHeader: { status: int (0=OK), QTime: total query time (in ms), params: Object returning the parameters used in the query },
response: { numFound: int, start: int, maxscore: double (best score) docs: array of documents [ {id: 1}, {id: 2}, etc. ],
highlighting: { doc.id: { field1: hilitePortion, field2: hilitePortion } }
}

#3

Updated by Patrick Talbot over 13 years ago

For v0.8, allow to build this kind of form in Servoy:

#4

Updated by Patrick Talbot over 13 years ago

  • % Done changed from 20 to 50
#5

Updated by Patrick Talbot over 13 years ago

Implemented sample query form in Servoy, it looks like this:

#6

Updated by Patrick Talbot over 13 years ago

  • % Done changed from 50 to 90

Added extended query parameters and sample solution can now query the Solr index.
Redesign the query form
Can now hook SolrServer on the fly
Better handling of lists for fields, hiliteFields, facets and filters ([,;\s] delimited String or String[])

#7

Updated by Patrick Talbot over 13 years ago

  • Status changed from In Progress to Closed
#8

Updated by Patrick Talbot over 13 years ago

  • % Done changed from 90 to 100

Also available in: Atom PDF