> 2) i'm not entirely clear on the order in which suggestions are
> returned. for a search of "porgrams" against a subset of my data, i
> get these suggestions...i've added my own levenshtein calculations,
> provided they're correct:
>
>     program: 3
>     pulgram: 3
>     porras: 2
>     portrait: 3

i should have included the relevant section of the response:

<lst name="spellcheck">
-
<lst name="suggestions">
-
<lst name="porgram">
<int name="numFound">5</int>
<int name="startOffset">0</int>
<int name="endOffset">8</int>
<int name="origFreq">0</int>
-
<arr name="suggestion">
-
<lst>
<str name="word">program</str>
<int name="freq">271</int>
</lst>
-
<lst>
<str name="word">pulgram</str>
<int name="freq">1</int>
</lst>
-
<lst>
<str name="word">porras</str>
<int name="freq">1</int>
</lst>
-
<lst>
<str name="word">portrait</str>
<int name="freq">74</int>
</lst>
-
<lst>
<str name="word">nomogram</str>
<int name="freq">1</int>
</lst>
</arr>
</lst>
<bool name="correctlySpelled">false</bool>
</lst>
</lst>


erikhatcher might be pulling-my-head-out-of-my-ass off-list, fwiw ;)

cheers, and thanks all,
rc

Reply via email to