I have indexed all my documents with a schema like this:
ID = ID(stored=True)
Body = TEXT(analyzer=StemmingAnalyzer(), stored=False,field_boost=4.0)
Name = TEXT(stored=True, field_boost=5.0)
Brand= TEXT(StemmingAnalyzer(),stored=False, field_boost=4.0)
...
My search module looks like this:
qp = MultifieldParser(["Name", "Body", "Brand",
"Familia","Superpadre","Tags","ID"], schema=ix.schema)
But when I search for iphone 6, it is querying like this:
<Top 20 Results for Or([Term('Name', u'iphone'), Term('Body',
u'iphon'), Term('Brand', u'iphon'), Term('Familia', u'iphon'),
Term('Superpadre', u'iphon'), And([Term('Tags', u'iphone'),
Term('Tags', u'6')]), Term('ID', u'iphon')]) runtime=0.0327291488647>
It is only searching for the digit 6 in the TAGS, but not in the name, brand, etc.
Could you please help me to search it also in the other fields?
Thank you all in advance.