Revision f4122f48

b/src/gr/ebs/gss/server/ejb/indexer/IndexerMDBean.java
154 154
					parts.add(new StringPart("id", id.toString()));
155 155
					parts.add(new StringPart("name", tokenizeFilename(file.getName()), "UTF-8"));
156 156
					for (FileTag tag : file.getFileTags())
157
						parts.add(new StringPart("tag", tag.getTag()));
157
						parts.add(new StringPart("tag", tag.getTag(), "UTF-8"));
158 158
					parts.add(new StringPart("stream.fieldname", "body"));
159 159
					parts.add(new StringPart("commit", "true"));
160 160
					parts.add(new FilePart(file.getName(), new File(body.getStoredFilePath())));
......
169 169
					if (logger.isDebugEnabled())
170 170
						logger.debug(response);
171 171
					if (statusCode != 200)
172
						throw new EJBException("Response from Solr for updatind id " + id.toString() + " had status: " + statusCode);
172
						throw new EJBException("Response from Solr for updating id " + id.toString() + " had status: " + statusCode);
173 173
				} else {
174 174
					DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
175 175
					DocumentBuilder db = dbf.newDocumentBuilder();

Also available in: Unified diff