Re: Newbie: Minimum Indexing Requirements and Strictness
Dustin Oprea <[email protected]> Mon, 27 Dec 2021 00:23:28 -0500
| Newsgroups | gmane.comp.search.xapian.general |
|---|---|
| Message-ID | <CAG0x-ECT0CnBdamND1Rc3Q461Hdt6YAGVr06=0pUWrYyg7MmgQ@mail.gmail.com> |
Regarding the prefixing and indexing, I'm also assuming that document. add_boolean_term(prefix + token) indexes atomic tokens whereas termgenerator.index_text(some_string, 1, prefix) indexes whole strings (which I used to index titles in the previous message), but I could use confirmation on this. Thank you. Dustin On Sun, Dec 26, 2021 at 11:47 PM Dustin Oprea <[email protected]> wrote: > When I experiment with fully relying on prefixed values, I find that I > can't omit the unprefixed/unqualified *index_text()* calls or else my > queries all return empty. What is going on here? Do I always have to index > some base content even though I might never query it? Is there more > documentation about this? > > Is there a way of increasing strictness so stupid issues like invalid > prefixes referenced from the query will cause the search to fail or at > least return empty? > > If my query is just an operatorless list of terms, does the parser > automatically apply the default operator between them? > > Thank you. > > > > Dustin > >