Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated Sphinx Search.java to not change default ranking

  • Loading branch information...
commit 6d748565e7d70e14d6d43ee9bf277b2cc0d49fe4 1 parent d18ca86
@zooie authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 exp/software/ohsumed/sphinx/Search.java
View
4 exp/software/ohsumed/sphinx/Search.java
@@ -14,8 +14,8 @@ public static void main (String[] argv) throws IOException, SphinxException {
SphinxClient cl = new SphinxClient();
cl.SetServer ("localhost", 8002);
- cl.SetWeights (new int[] {100, 1});
- cl.SetMatchMode (SphinxClient.SPH_MATCH_ANY);
+ //cl.SetWeights (new int[] {100, 1});
+ //cl.SetMatchMode (SphinxClient.SPH_MATCH_ANY);
cl.SetLimits (0, 10);
cl.SetSortMode (SphinxClient.SPH_SORT_RELEVANCE, "");
Please sign in to comment.
Something went wrong with that request. Please try again.