Open GoogleCodeExporter opened 9 years ago
We are going to do this by storing the tags as separate documents in Solr. So,
each
user will have a "Tag Document" for each venue she tags, containing fields such
as:
taggedObjID, user/id, tags
Searching by tags will then contstruct queries to take these tag documents into
account.
Original comment by tgwizard
on 16 Apr 2010 at 9:33
Rémi and Quentin is doing this
Original comment by tgwizard
on 16 Apr 2010 at 9:33
[deleted comment]
[deleted comment]
Ehm, I saw somewhere that you said we should decide whether the IDs are Strings
or
integers, I think that it is easier to implement them as strings in solr.
Original comment by tgwizard
on 21 Apr 2010 at 11:10
We decided today that we wouldn't care about the special cases of simultaneous
updates, just getting an implementation that works. After all, this is a
prototype.
Original comment by tgwizard
on 23 Apr 2010 at 9:48
I have modified a bit VenueModel to includes tags. If no tag is input, that's
fine.
You can test it at http://localhost:8080/foodle-x9/tag/tagmodel_test.jsp and
check in
Solr if it works.
Don't forget to copy schema.xml to solr/conf
I am using tag.EditController servlet to add the venue with the tags.
However, if we use it this way, I don't think that TagModel will be so useful.
We can
use its static methods to retrieve the venues corresponding to the tag, or the
tags
for a venue.
Original comment by remi.t...@gmail.com
on 28 Apr 2010 at 4:49
Original issue reported on code.google.com by
tgwizard
on 15 Apr 2010 at 12:43