Thanks for the quick response Jan.
What you said does make sense. But I have a follow up question about the AND operator: I know that the built in search engine is Apache Lucene. The problem I am having is getting the AND operator to correctly return search results. It appears in my testing that - if two terms appear in the same paragraph on the same page, the AND operator will correctly return the search result. However, if both of those terms appear in two different paragraphs on the same page, the AND operator does not return the search result correctly. For example, using the demo-project's News and Events -> Events Overview -> New Year's Eve page: Scenario 1 - Two terms from two different paragraphs on the same page: There is an Event Header with the word "Basels" and a content paragraph below it with a term "existent". I performed the search: Basels AND existent. This did not return any results. Scenario 2 - Two terms from the same paragraph on the same page: I performed the query: Basels AND myth, which are terms that both appear in the Event Header paragraph. It successfully returned a result. This leads me to believe that terms that appear in different paragraphs on the same page are not searchable with the AND operator. Is this accurate? I'd like to determine a way to search a page for terms regardless of what paragraph they appear on, using the AND operator. Jan Haderka-2 wrote: > > > Occidental OR multimedia > > ... however you do not get highlighted snippets in this case. > > HTH, > Jan > > > On Oct 26, 2010, at 6:20 PM, Anjaan84 wrote: > >> >> >> Hello, >> >> I am running into an issue with out of the box search functionality >> provided >> with Magnolia. I did my search on Old Nabble and also searched through >> Magnolia's official documentation website (wiki) to find some/any >> information on Search capabilities and was not able to find anything >> regarding my issue or anything about Search at all. Therefore, I am >> seeking >> help of the community people and hoping someone has already faced a >> similar >> problem and have found a solution. >> >> Is there a possibility to search for terms that do not necessarily exist >> in >> one paragraph or even the same page? >> >> The easiest way to explain my issue is to provide an example: >> >> From the Public instance of the demo-project, if I search for the term >> "Occidental" I get 6 results. >> Then I search for another term "Multimedia" and I get 3 results. >> But when I search for both terms together "Multimedia Occidental" I get >> no >> results. I have tried multiple ways of & and Or operators in the search >> string, but did not find anything. It is tough to prove this with Ipsum >> Lorem all the the demo-project, but if you were to try this with your own >> original content this issue is easily noticeable. >> >> Hope this makes sense. Please let me know if anyone have any suggestion >> or >> solution. Greatly appreciate it. >> >> Thanks. >> -- >> View this message in context: >> http://old.nabble.com/Search-words-or-terms-from-multiple-paragraphs-or-pages-tp30059235p30059235.html >> Sent from the Magnolia - User mailing list archive at Nabble.com. >> >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > -- View this message in context: http://old.nabble.com/Search-words-or-terms-from-multiple-paragraphs-or-pages-tp30059235p30070232.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
