massiveart / MassiveSearchBundle

MIT License
67 stars 24 forks source link

URL and Title should be in the index #145

Closed ampaze closed 4 years ago

ampaze commented 4 years ago

This makes it possible to give the title a boost via the search query.

As discussed here https://github.com/sulu/sulu/issues/5290

alexander-schranz commented 4 years ago

@ampaze is this PR needed if we implement something like https://github.com/sulu/sulu/pull/5304/files to mark which fields should be indexed?

ampaze commented 4 years ago

It would of course be better to be able to mark the fields like in https://github.com/sulu/sulu/pull/5304/files, but this requires more work.

Although I don't think there is any negative consequences in just alway indexing it.

ampaze commented 4 years ago

I am closing this in favor of https://github.com/sulu/sulu/pull/5304.

Then use title instead of __title, which is a better solution anyway.