Skip to content

Commit

Permalink
Merge pull request #32 from argrecsys/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ansegura7 authored Mar 9, 2022
2 parents 7204f62 + 6df0c1f commit df8d917
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
*.class
*.log
*.ctxt
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
hs_err_pid*
code/ArgumentIR/store/ArgumentIR.jar

##############################
## NetBeans
Expand Down
Binary file added code/ArgumentIR/lib/json-java.jar
Binary file not shown.
Binary file added code/ArgumentIR/lib/mongo-java-driver-3.12.10.jar
Binary file not shown.
Binary file not shown.
Binary file added code/ArgumentIR/lib/snakeyaml-1.9.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions code/ArgumentIR/src/es/uam/irg/ir/InfoRetriever.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ private void addDocToIndex(IndexWriter iw, int proposalId, String code, String t
doc.add(new TextField("code", "" + code, Field.Store.YES));
doc.add(new TextField("title", title, Field.Store.YES));
doc.add(new TextField("summary", summary, Field.Store.YES));
doc.add(new TextField("categories", categories, Field.Store.YES));
doc.add(new TextField("districts", districts, Field.Store.YES));
doc.add(new TextField("topics", topics, Field.Store.YES));
doc.add(new TextField("categories", categories.replace(",", " "), Field.Store.YES));
doc.add(new TextField("districts", districts.replace(",", " "), Field.Store.YES));
doc.add(new TextField("topics", topics.replace(",", " "), Field.Store.YES));
iw.addDocument(doc);
}

Expand Down

0 comments on commit df8d917

Please sign in to comment.