The violent episode unfolded after a group of people resorted to stone-pelting when a police team raided some houses in Sherpur on information of "cow slaughter".
270 people, including the village head, is among the 270 people who have been charged with rioting, participating in unlawful assembly, damaging public property, attempt to murder and related offences, Superintendent of Police (City) Rakesh Kumar Singh said.
When the police did not find any suspicious item during the search, they started searching nearby houses which angered the people, who opposed the police action and started pelting them with stones.
Meanwhile, the sub-inspector of the police outpost concerned has been transfered while other personnel have also been moved out, the SP said.
In the wake of the violence, security was heightened and extra police force was deployed in the village to ease the tension.