Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misleading results #45

Open
myrmoteras opened this issue Jul 11, 2023 · 5 comments
Open

misleading results #45

myrmoteras opened this issue Jul 11, 2023 · 5 comments

Comments

@myrmoteras
Copy link

@punkish this result looks nice, but is only secondarily helpful.

image
https://ocellus.info/?page=1&size=30&resource=images&q=Noctuidae#

Most of the images are NOT> noctuid moth, but parasitic wasps, that might parasitize them. If I search images, then I want to have images about moth (Noctuids) not other stuff. This especially, if I select figures, rather than treatments.

I also do not understand why we do all the semantic annoations and attributes that allow specific searches and then use full text search. The full text results, for those that know more, mean anything about Noctuids, that is Noctuids proper but also anything that is mentioned in the respective figure, treatment.

I think we really need to be able to be able to provide in the search a result that is specific, and may be in the example have the option to do full text search.

@punkish
Copy link
Owner

punkish commented Jul 11, 2023

if you want to search for noctuidae, then you can do a specific search https://ocellus.info/?family=Noctuidae&resource=images&page=1&size=30

specific searches are possible. Fulltext searches are also possible. Sometimes you may want one, sometimes the other. There is a choice. The termFrequency chart comes up only when a fulltext search is done. That is because the way the termFreq index is created

@myrmoteras
Copy link
Author

myrmoteras commented Jul 11, 2023 via email

@punkish
Copy link
Owner

punkish commented Jul 11, 2023

but is only secondarily helpful.

Good! It is meant to be an additional bit of info, not the main info. The main info is still the images

@punkish
Copy link
Owner

punkish commented Jul 11, 2023

But we need to discuss what the preset is

There is no preset. You get back images for whatever you search.

q is an Alia's for full text of the treatment. Think of it as the easiest form of search. You specify a term, any term, and it will hopefully find something. It is great for many uses and certainly a good start.

Because of the special properties of the full text index, the searches are very fast and also can return term frequency.

You can also specify any key=val pair, and the search will be more specific.

@punkish
Copy link
Owner

punkish commented Jul 12, 2023

@myrmoteras

I have an idea that I am going to try out. If it works, it should make you a very happy taxonomist. I am going to experiment with a broad-to-specific search.

I will start with a full text search, create a new table with the results, and then, withing that much smaller table, I will search the taxonomic ranks in reverse order, from species to kingdom, stopping when and if a search produces a result. This will require some programming, and a lot of testing. Let's see if we can get more satisfying results even with very simple (simple for the end-user) searches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants