|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
A part of a search
Field Summary | |
---|---|
string[] |
Context
Context, used for ranking results |
Naanou.Common.Search.QueryOn |
Field
Field that is being searched on |
int |
MinimumConfidence
Minimum confidence we want for results for this part |
string |
Query
Query on that field |
Constructor Summary | |
---|---|
SearchPart(Naanou.Common.Search.QueryOn field, string query, string[] context) Creates a new part with no minimum confidence threshold |
|
SearchPart(Naanou.Common.Search.QueryOn field, string query, string[] context, int minConfidence) Creates a new part with a confidence threshold |
Method Summary | |
---|---|
string |
Dump() Dump all details of part and contained contexts |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
public string[] Context
Context, used for ranking results
public Naanou.Common.Search.QueryOn Field
Field that is being searched on
public int MinimumConfidence
Minimum confidence we want for results for this part
public string Query
Query on that field
Constructor Detail |
---|
public SearchPart(Naanou.Common.Search.QueryOn field, string query, string[] context)
Creates a new part with no minimum confidence threshold
Parameters:
field
- Fieldquery
- Query keycontext
- Contextual keys (can be null)public SearchPart(Naanou.Common.Search.QueryOn field, string query, string[] context, int minConfidence)
Creates a new part with a confidence threshold
Parameters:
field
- Fieldquery
- Query keycontext
- Contextual keys (can be null)minConfidence
- Minium confidence (0-100) for results to have. Allows for server-side filteringMethod Detail |
---|
public string Dump()
Dump all details of part and contained contexts
Returns:
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |