Permalink
Browse files

updated Sphinx Search.java to not change default ranking

  • Loading branch information...
1 parent d18ca86 commit 6d748565e7d70e14d6d43ee9bf277b2cc0d49fe4 @zooie committed Jul 13, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 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, "");

0 comments on commit 6d74856

Please sign in to comment.